mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
oggmux: Use the GstPad (and not the GstOggPadData for GstPad functions
For those willing, renaming that 'pad' variable to something more obvious would be nice to avoid such bugs...
This commit is contained in:
parent
ff071135cb
commit
266a9be400
1 changed files with 1 additions and 1 deletions
|
@ -799,7 +799,7 @@ gst_ogg_mux_queue_pads (GstOggMux * ogg_mux)
|
||||||
* to starting streams on the fly, and some streams (like VP8
|
* to starting streams on the fly, and some streams (like VP8
|
||||||
* at least) do not send headers packets, as other muxers don't
|
* at least) do not send headers packets, as other muxers don't
|
||||||
* expect/need them. */
|
* expect/need them. */
|
||||||
caps = gst_pad_get_current_caps (GST_PAD_CAST (pad));
|
caps = gst_pad_get_current_caps (GST_PAD_CAST (data->pad));
|
||||||
pad->have_type =
|
pad->have_type =
|
||||||
gst_ogg_stream_setup_map_from_caps_headers (&pad->map, caps);
|
gst_ogg_stream_setup_map_from_caps_headers (&pad->map, caps);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue