mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
avimux: take the pad from collectpads2 correctly
This commit is contained in:
parent
f3f54403b1
commit
408873a884
1 changed files with 2 additions and 2 deletions
|
@ -1847,9 +1847,9 @@ gst_avi_mux_handle_event (GstCollectPads2 * pads, GstCollectData2 * data,
|
|||
g_assert (avipad);
|
||||
|
||||
if (avipad->parent.is_video) {
|
||||
ret = gst_avi_mux_vidsink_set_caps (GST_PAD (avipad), caps);
|
||||
ret = gst_avi_mux_vidsink_set_caps (data->pad, caps);
|
||||
} else {
|
||||
ret = gst_avi_mux_audsink_set_caps (GST_PAD (avipad), caps);
|
||||
ret = gst_avi_mux_audsink_set_caps (data->pad, caps);
|
||||
}
|
||||
gst_event_unref (event);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue