projects
/
platform
/
upstream
/
gst-plugins-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c4d691
)
tinycompresssink: Add mp3 caps to limit audio format
26/201626/2
accepted/tizen/unified/20190320.082351
submit/tizen/20190319.112648
author
Hyunil
<hyunil46.park@samsung.com>
Mon, 18 Mar 2019 08:29:04 +0000
(17:29 +0900)
committer
Hyunil
<hyunil46.park@samsung.com>
Mon, 18 Mar 2019 09:43:58 +0000
(18:43 +0900)
Change-Id: If3800caeb0cd219b6292a392bdffcec0b6ace331
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
tinycompresssink/src/gsttinycompresssink.c
patch
|
blob
|
history
diff --git
a/tinycompresssink/src/gsttinycompresssink.c
b/tinycompresssink/src/gsttinycompresssink.c
index
c4f5193
..
84671be
100644
(file)
--- a/
tinycompresssink/src/gsttinycompresssink.c
+++ b/
tinycompresssink/src/gsttinycompresssink.c
@@
-47,10
+47,13
@@
#define COMPRESS_VOL_CTRL "ComprTx0 Volume"
+#define MP3_CAPS "audio/mpeg, mpegversion = (int) 1, layer = (int) [ 1, 3 ], parsed = (boolean) true"
+
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS_ANY);
+ GST_STATIC_CAPS (MP3_CAPS)
+);
#define DEFAULT_SYNC TRUE
#define DEFAULT_DUMP FALSE