From 95a9b7db2538192bd98d0aa9e401c0c1f89bfbbd Mon Sep 17 00:00:00 2001 From: Sejun Park Date: Fri, 24 Jun 2016 13:01:39 +0900 Subject: [PATCH] Apply default template caps Change-Id: Icd0154e77e0a81747a2b670c18d893a8e8fb2816 --- config/exynos/gstomx.conf | 4 ---- omx/gstomxvideodec.c | 4 ++-- packaging/gst-omx.spec | 4 ++-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/config/exynos/gstomx.conf b/config/exynos/gstomx.conf index 946be31..ee51371 100755 --- a/config/exynos/gstomx.conf +++ b/config/exynos/gstomx.conf @@ -6,7 +6,6 @@ rank=258 in-port-index=0 out-port-index=1 hacks=no-component-role;no-disable-outport -src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ] [omxdec_mpeg4] type-name=GstOMXMPEG4VideoDec @@ -16,7 +15,6 @@ rank=258 in-port-index=0 out-port-index=1 hacks=no-component-role;no-disable-outport -src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ] [omxdec_h263] type-name=GstOMXH263Dec @@ -26,7 +24,6 @@ rank=258 in-port-index=0 out-port-index=1 hacks=no-component-role;no-disable-outport -src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ] [omxdec_h264] type-name=GstOMXH264Dec @@ -36,7 +33,6 @@ rank=258 in-port-index=0 out-port-index=1 hacks=no-component-role;no-disable-outport -src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ] [omxdec_vc1] type-name=GstOMXWMVDec diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 51ab2f9..eee27a3 100755 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -134,9 +134,9 @@ gst_omx_video_dec_class_init (GstOMXVideoDecClass * klass) "width = " GST_VIDEO_SIZE_RANGE ", " "height = " GST_VIDEO_SIZE_RANGE ", " "framerate = " GST_VIDEO_FPS_RANGE ", " #ifdef EXYNOS_SPECIFIC - "format = ST12"; + "format = (string)ST12"; #else - "format = SN12"; + "format = (string)SN12"; #endif } diff --git a/packaging/gst-omx.spec b/packaging/gst-omx.spec index 380e1b6..3f406d0 100755 --- a/packaging/gst-omx.spec +++ b/packaging/gst-omx.spec @@ -1,7 +1,7 @@ Name: gst-omx Summary: GStreamer plug-in that allows communication with OpenMAX IL components -Version: 1.2.0 -Release: 2 +Version: 1.2.1 +Release: 0 License: LGPL-2.1+ Group: Multimedia/Framework Source0: %{name}-%{version}.tar.gz -- 2.7.4