aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gstreamer/gst-plugins-good
diff options
context:
space:
mode:
authorKoen Kooi <k-kooi@ti.com>2010-01-21 16:23:37 +0100
committerKoen Kooi <koen@openembedded.org>2010-01-26 15:00:04 +0100
commitb79cfa7c3daec7570e7ce2118c87729a9201fefb (patch)
tree881a4003c385160b3ea3313c50ea5faf48025cde /recipes/gstreamer/gst-plugins-good
parent6a6ff1c4cb4138b2124157cac5ad9913b2f17c8e (diff)
downloadopenembedded-b79cfa7c3daec7570e7ce2118c87729a9201fefb.tar.gz
gst-plugins-good: add 0.10.17
Diffstat (limited to 'recipes/gstreamer/gst-plugins-good')
-rw-r--r--recipes/gstreamer/gst-plugins-good/flvdemux-ecma.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/gstreamer/gst-plugins-good/flvdemux-ecma.diff b/recipes/gstreamer/gst-plugins-good/flvdemux-ecma.diff
new file mode 100644
index 0000000000..6def2e07fd
--- /dev/null
+++ b/recipes/gstreamer/gst-plugins-good/flvdemux-ecma.diff
@@ -0,0 +1,26 @@
+From dd82612340001e7ff821725ac257a0a36ab1fea7 Mon Sep 17 00:00:00 2001
+From: Jan UrbaƄski <wulczer@wulczer.org>
+Date: Mon, 09 Nov 2009 11:17:34 +0000
+Subject: flvmux: properly finish the ECMA array
+
+The ECMA array with the file index was missing a mandatory end marker.
+Fixes bug #601242.
+---
+diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c
+index 89e8279..e1cb143 100644
+--- a/gst/flv/gstflvmux.c
++++ b/gst/flv/gstflvmux.c
+@@ -1060,6 +1060,11 @@ gst_flv_mux_write_index (GstFlvMux * mux)
+ }
+ script_tag = gst_buffer_join (script_tag, tmp);
+
++ tmp = gst_buffer_new_and_alloc (3);
++ data = GST_BUFFER_DATA (tmp);
++ GST_WRITE_UINT24_BE (data, 9); /* finish the ECMA array */
++ script_tag = gst_buffer_join (script_tag, tmp);
++
+ tmp = gst_buffer_new_and_alloc (4);
+ data = GST_BUFFER_DATA (tmp);
+ GST_WRITE_UINT32_BE (data, GST_BUFFER_SIZE (script_tag));
+--
+cgit v0.8.3-6-g21f6