CVS Root: /cvs/gstreamer
Module: gst-plugins-base
Changes by: wtay
Date: Tue Nov 25 2008 15:28:51 UTC
Log message:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_sink_event):
If no stream was found before receiving EOS, post an error message.
Fixes #561924.
Modified files:
. : ChangeLog
ext/ogg : gstoggdemux.c
Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.4216&r2=1.4217
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ext/ogg/gstoggdemux.c.diff?r1=1.197&r2=1.198
====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v
retrieving revision 1.4216
retrieving revision 1.4217
diff -u -d -r1.4216 -r1.4217
--- ChangeLog 25 Nov 2008 15:14:25 -0000 1.4216
+++ ChangeLog 25 Nov 2008 15:28:35 -0000 1.4217
@@ -1,5 +1,11 @@
2008-11-25 Wim Taymans <[email protected]>
+ * ext/ogg/gstoggdemux.c: (gst_ogg_demux_sink_event):
+ If no stream was found before receiving EOS, post an error message.
+ Fixes #561924.
+
+2008-11-25 Wim Taymans <[email protected]>
* ext/theora/gsttheoraenc.h:
* ext/theora/theoraenc.c: (gst_theora_enc_init),
(theora_buffer_from_packet), (theora_push_packet),
Index: gstoggdemux.c
RCS file: /cvs/gstreamer/gst-plugins-base/ext/ogg/gstoggdemux.c,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -d -r1.197 -r1.198
--- gstoggdemux.c 4 Nov 2008 17:24:34 -0000 1.197
+++ gstoggdemux.c 25 Nov 2008 15:28:36 -0000 1.198
@@ -1484,6 +1484,15 @@
res = TRUE;
break;
case GST_EVENT_EOS:
+ {
+ GST_DEBUG_OBJECT (ogg, "got an EOS event");
+ res = gst_pad_event_default (pad, event);
+ if (ogg->current_chain == NULL) {
+ GST_ELEMENT_ERROR (ogg, STREAM, DEMUX, (NULL),
+ ("can't get first chain"));
+ }
+ break;
+ }
default:
res = gst_pad_event_default (pad, event);
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.