Fixed :HTML5 streaming video is stuck during playing 2.2_release submit/tizen_2.2/20130814.090551 submit/tizen_2.2/20130814.101934
authorqing.zhang <qing.zhang@intel.com>
Sun, 21 Jul 2013 04:42:53 +0000 (00:42 -0400)
committerqing.zhang <qing.zhang@intel.com>
Wed, 24 Jul 2013 11:33:21 +0000 (07:33 -0400)
[Title] HTML5 streaming video is stuck during playing
[Issue#] TD-6970
[Problem] When user tries to bigger than 130MB html5 video under WebKit based html5 video with http,
the playback would be stuck.
[Cause] The unlimited local cache policy be enabled in 'queue2' with HTTP connection.
So once the media source bigger than ("130MB" /tmpfs free spaces)from http,
the cache will overflow and playback will stuck.
[Solution] The previous behavior is un-limited, so enable default 2MB limition tmpfs cache in queue2.
This updates will not impact the manual media-pipeline setup, because the pipeline owner could
set any propriety as before.
[Developer] Qing.Zhang (qing.zhang@intel.com)

Change-Id: If04acfae9beb42681cf7378006339cfb11137606

packaging/gstreamer.spec
plugins/elements/gstqueue2.c

index 15b154b1bc5b6607239b4ecfa87dfea6fff63280..3df7256cbf1c5d5086a6332a463b193018792f42 100644 (file)
@@ -1,7 +1,7 @@
 Name:       gstreamer
 Summary:    GStreamer streaming media framework runtime
 Version:    0.10.36
-Release:    8
+Release:    9
 Group:      Applications/Multimedia
 License:    LGPLv2+
 Source0:    %{name}-%{version}.tar.gz
index d84ac4e35df9d3ae0043627c25d576335a4db8b5..634debb2cee67e0d0c999ed6eb65c96dd5e40599 100755 (executable)
@@ -127,7 +127,7 @@ enum
 #endif
 #define DEFAULT_RING_BUFFER_MAX_SIZE 0
 #ifdef GST_EXT_QUEUE_ENHANCEMENT
-#define DEFAULT_FILE_BUFFER_MAX_SIZE 
+#define DEFAULT_FILE_BUFFER_MAX_SIZE (2 * 1024 * 1024)    /* 2 MB */
 #endif
 
 enum