summaryrefslogtreecommitdiff
path: root/gst/qtdemux
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-11-12 17:06:32 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-11-12 17:06:32 +0000
commit8ae866e5c6ea204034e9fb371a66db2d34dbabec (patch)
tree7f24403ab8c962c7e8eab1673331b07ee0d2a47e /gst/qtdemux
parent546ec34716cf67038e8546f0ba47e4a307bc5c7d (diff)
gst/: Sync _handle_src_event() with oggdemux. In avidemux also ref the element when we should, but not when we its no...
Original commit message from CVS: * gst/avi/gstavidemux.c: * gst/qtdemux/qtdemux.c: Sync _handle_src_event() with oggdemux. In avidemux also ref the element when we should, but not when we its not needed.
Diffstat (limited to 'gst/qtdemux')
-rw-r--r--gst/qtdemux/qtdemux.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 48500dfa..169862f6 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -842,14 +842,13 @@ gst_qtdemux_handle_src_event (GstPad * pad, GstEvent * event)
GST_DEBUG_OBJECT (qtdemux, "cannot seek in streaming mode");
res = FALSE;
}
+ gst_object_unref (qtdemux);
break;
default:
- res = FALSE;
+ res = gst_pad_event_default (pad, event);
break;
}
- gst_object_unref (qtdemux);
-
gst_event_unref (event);
return res;