ext/gnomevfs/gstgnomevfssrc.c: Don't send EOS event here, the base class will send...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 21 Feb 2006 12:16:16 +0000 (12:16 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 21 Feb 2006 12:16:16 +0000 (12:16 +0000)
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_create):
Don't send EOS event here, the base class will send one for us.
* gst/playback/gstplaybasebin.c: (prepare_output):
Subpictures without video stream aren't allowed either.
* gst/subparse/gstsubparse.c: (gst_subparse_type_find):
Fix debug statement copy'n'paste-o.

ChangeLog
ext/gnomevfs/gstgnomevfssrc.c
gst/playback/gstplaybasebin.c
gst/subparse/gstsubparse.c

index 10103186d7efdd7680ceb857738c863427517bec..17826374d93312b797951955a39c4b8431263e6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2006-02-21  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_create):
+         Don't send EOS event here, the base class will send one for us.
+  
+       * gst/playback/gstplaybasebin.c: (prepare_output):
+         Subpictures without video stream aren't allowed either.
+       
+       * gst/subparse/gstsubparse.c: (gst_subparse_type_find):
+         Fix debug statement copy'n'paste-o.
+
 2006-02-21  Tim-Philipp Müller  <tim at centricular dot net>
 
        * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_volume):
index 0996cf68684551397bbbf361d7fd8c03a7375335..8ed2ff0e7d3bc73e635dad52345199eb29c20e92 100644 (file)
@@ -1033,7 +1033,6 @@ eos:
   {
     gst_buffer_unref (buf);
     GST_DEBUG_OBJECT (src, "Reading data gave EOS");
-    gst_pad_push_event (basesrc->srcpad, gst_event_new_eos ());
     return GST_FLOW_UNEXPECTED;
   }
 }
index 67a3cde337eb9110842ef4338dfc093ae9d2ebfe..786fc1dd8d9acb7c6787ffa22bd7294663095664 100644 (file)
@@ -1423,7 +1423,8 @@ prepare_output (GstPlayBaseBin * play_base_bin)
       break;
     } else if (info->type == GST_STREAM_TYPE_AUDIO) {
       stream_found = TRUE;
-    } else if (info->type == GST_STREAM_TYPE_TEXT) {
+    } else if (info->type == GST_STREAM_TYPE_TEXT ||
+        info->type == GST_STREAM_TYPE_SUBPICTURE) {
       got_subtitle = TRUE;
     } else if (!item->prev && !item->next) {
       /* We're no audio/video and the only stream... We could
index 67c191bde0bc8afbf8be6fb746119931662c2454..0a324bea5bef99976b0a1e014d4e032e23f31ee0 100644 (file)
@@ -879,7 +879,7 @@ gst_subparse_type_find (GstTypeFind * tf, gpointer private)
       GST_DEBUG ("SubRip format detected");
       break;
     case GST_SUB_PARSE_FORMAT_MPSUB:
-      GST_DEBUG ("SubRip format detected");
+      GST_DEBUG ("MPSub format detected");
       break;
     case GST_SUB_PARSE_FORMAT_UNKNOWN:
       GST_DEBUG ("no subtitle format detected");