projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c75a69d
)
qtdemux: use macro for codec_name
author
Luis de Bethencourt
<luisbg@osg.samsung.com>
Wed, 25 Nov 2015 22:48:32 +0000
(22:48 +0000)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Wed, 25 Nov 2015 22:48:36 +0000
(22:48 +0000)
Use _codec() macro instead of duplicating code.
gst/isomp4/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux.c
b/gst/isomp4/qtdemux.c
index
4bf88d8
..
ea3f1f5
100644
(file)
--- a/
gst/isomp4/qtdemux.c
+++ b/
gst/isomp4/qtdemux.c
@@
-12311,8
+12311,7
@@
qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
case GST_MAKE_FOURCC ('U', 'M', 'P', '4'):
caps = gst_caps_new_simple ("video/mpeg",
"mpegversion", G_TYPE_INT, 4, NULL);
- if (codec_name)
- *codec_name = g_strdup ("MPEG-4");
+ _codec ("MPEG-4");
break;
case GST_MAKE_FOURCC ('c', 'v', 'i', 'd'):