projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff07113
)
oggmux: Use the GstPad (and not the GstOggPadData for GstPad functions
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Fri, 3 Jun 2011 17:00:39 +0000
(19:00 +0200)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Fri, 3 Jun 2011 17:28:32 +0000
(19:28 +0200)
For those willing, renaming that 'pad' variable to something more obvious
would be nice to avoid such bugs...
ext/ogg/gstoggmux.c
patch
|
blob
|
history
diff --git
a/ext/ogg/gstoggmux.c
b/ext/ogg/gstoggmux.c
index
500fbf4
..
8b090b2
100644
(file)
--- a/
ext/ogg/gstoggmux.c
+++ b/
ext/ogg/gstoggmux.c
@@
-799,7
+799,7
@@
gst_ogg_mux_queue_pads (GstOggMux * ogg_mux)
* to starting streams on the fly, and some streams (like VP8
* at least) do not send headers packets, as other muxers don't
* 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 =
gst_ogg_stream_setup_map_from_caps_headers (&pad->map, caps);