projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f5440
)
avimux: take the pad from collectpads2 correctly
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 6 Feb 2012 12:43:49 +0000
(13:43 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 6 Feb 2012 12:43:49 +0000
(13:43 +0100)
gst/avi/gstavimux.c
patch
|
blob
|
history
diff --git
a/gst/avi/gstavimux.c
b/gst/avi/gstavimux.c
index
c2fbeed
..
181f14f
100644
(file)
--- a/
gst/avi/gstavimux.c
+++ b/
gst/avi/gstavimux.c
@@
-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;