modify TYPE_FIND_MIN_SIZE to support some very small files playing
authorYounghwan <younghwan_.an@samsung.com>
Wed, 10 May 2017 09:36:42 +0000 (18:36 +0900)
committerahn <younghwan_.an@samsung.com>
Wed, 10 May 2017 12:24:50 +0000 (12:24 +0000)
Change-Id: I7cc3c94d11a6db94301f8ad36ab44f01131089f2

gst-libs/gst/tag/gsttagdemux.c

index b736276..f02f858 100644 (file)
@@ -125,7 +125,12 @@ struct _GstTagDemuxPrivate
  * 40kB is massive overkill for the maximum, I think, but it 
  * doesn't do any harm (tpm: increased to 64kB after watching
  * typefinding fail on a wavpack file that needed 42kB to succeed) */
+#ifdef TIZEN_PROFILE_TV
+#define TYPE_FIND_MIN_SIZE 2048
+#else
 #define TYPE_FIND_MIN_SIZE 8192
+#endif
+
 #define TYPE_FIND_MAX_SIZE 65536
 
 #define DEFAULT_PULL_BLOCKSIZE 4096