[gst-cvs] CVS: gstreamer/plugins/mpeg2/mpeg2dec gstmpeg2dec.c,1.24,1.25
Wim Taymans
wtay at users.sourceforge.net
Tue Oct 23 12:51:11 PDT 2001
Update of /cvsroot/gstreamer/gstreamer/plugins/mpeg2/mpeg2dec
In directory usw-pr-cvs1:/tmp/cvs-serv14799/plugins/mpeg2/mpeg2dec
Modified Files:
gstmpeg2dec.c
Log Message:
Aplied the patches from vishnu to implement seeking in various plugins.
bytestream now has an event-aware API.
Index: gstmpeg2dec.c
===================================================================
RCS file: /cvsroot/gstreamer/gstreamer/plugins/mpeg2/mpeg2dec/gstmpeg2dec.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- gstmpeg2dec.c 2001/10/17 10:21:25 1.24
+++ gstmpeg2dec.c 2001/10/23 19:50:41 1.25
@@ -396,6 +396,11 @@
restart = 1;
break;
+ case GST_EVENT_EOS:
+ gst_element_set_state (GST_ELEMENT (mpeg2dec), GST_STATE_PAUSED);
+ restart = 1; // we should get stuck in gst_pad_pull
+ break;
+
default:
g_warning ("Ignoring unknown event %d", ev->type);
break;
More information about the Gstreamer-commits
mailing list