[oe-commits] Fraxinas : gstreamer: add patch to fix bug #591664 ( srt subtitle resync issue after seeking)

git version control git at git.openembedded.org
Mon Aug 17 20:34:13 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dreambox
Commit: d2fd5f61e63c33624d24af1be853e737af4d9fab
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d2fd5f61e63c33624d24af1be853e737af4d9fab

Author: Fraxinas <andreas.frisch at multimedia-labs.de>
Date:   Mon Aug 17 21:43:33 2009 +0200

gstreamer: add patch to fix bug #591664 (srt subtitle resync issue after seeking)

---

 packages/gstreamer/files/playsink-textsink.diff |   28 +++++++++++++++++++++++
 packages/gstreamer/gst-plugins-base_0.10.24.bb  |    5 ++-
 2 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/packages/gstreamer/files/playsink-textsink.diff b/packages/gstreamer/files/playsink-textsink.diff
new file mode 100644
index 0000000..46dd64a
--- /dev/null
+++ b/packages/gstreamer/files/playsink-textsink.diff
@@ -0,0 +1,28 @@
+diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c
+index 0a65a4f..6c54f48 100644
+--- a/gst/playback/gstplaysink.c
++++ b/gst/playback/gstplaysink.c
+@@ -2385,6 +2385,15 @@ gst_play_sink_send_event_to_sink (GstPlaySink * playsink, GstEvent * event)
+ {
+   gboolean res = TRUE;
+ 
++  if (playsink->textchain && playsink->text_sink) {
++    gst_event_ref (event);
++    if ((res = gst_element_send_event (playsink->textchain->chain.bin, event))) {
++      GST_DEBUG_OBJECT (playsink, "Sent event succesfully to text sink");
++    } else {
++      GST_DEBUG_OBJECT (playsink, "Event failed when sent to text sink");
++    }
++  }
++
+   if (playsink->videochain) {
+     gst_event_ref (event);
+     if ((res = gst_element_send_event (playsink->videochain->chain.bin, event))) {
+@@ -2401,6 +2410,7 @@ gst_play_sink_send_event_to_sink (GstPlaySink * playsink, GstEvent * event)
+     }
+     GST_DEBUG_OBJECT (playsink, "Event failed when sent to audio sink");
+   }
++
+ done:
+   gst_event_unref (event);
+   return res;
diff --git a/packages/gstreamer/gst-plugins-base_0.10.24.bb b/packages/gstreamer/gst-plugins-base_0.10.24.bb
index f00c224..8da04b9 100644
--- a/packages/gstreamer/gst-plugins-base_0.10.24.bb
+++ b/packages/gstreamer/gst-plugins-base_0.10.24.bb
@@ -3,5 +3,6 @@ PROVIDES_${PN} += "gst-plugins"
 RCONFLICTS_gst-plugins-base = "libgstapp-0.10-0"
 RREPLACES_gst-plugins-base = "libgstapp-0.10-0"
 EXTRA_OECONF += "--with-audioresample-format=int"
-PR = "r0"
-SRC_URI += "file://gst-plugins_configure_skip_shave.patch;patch=1;pnum=0"
+PR = "r1"
+SRC_URI += "file://gst-plugins_configure_skip_shave.patch;patch=1;pnum=0 \
+file://playsink-textsink.diff;patch=1;pnum=1"





More information about the Openembedded-commits mailing list