diff mbox

[gst-openmax] h264dec: use stream-format and alignment fields in sink caps

Message ID BANLkTi=Qd1n+GOtv+hSGRu-pU4-GbDMDiQ@mail.gmail.com
State New
Headers show

Commit Message

Benjamin Gaignard May 31, 2011, 12:08 p.m. UTC
make omx_h264dec use latest h264parse enhancements for stream parsing

bug  https://bugzilla.gnome.org/show_bug.cgi?id=651120

patch pushed upstream
will be be release in gst-openmax 0.10.2

Benjamin
diff mbox

Patch

From 0b420c407b2a36e5abf8ea05bcd2a6a9effba446 Mon Sep 17 00:00:00 2001
From: benjamin gaignard <benjamin.gaignard@linaro.org>
Date: Thu, 26 May 2011 09:55:26 +0200
Subject: [PATCH] h264dec: make sink caps use stream-format and alignment fields
 since bug #650228 in h264parse has been fix we should use stream-format and aligment fields in sink caps

---
 omx/gstomx.conf.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/omx/gstomx.conf.in b/omx/gstomx.conf.in
index 88023bf..46ca2de 100644
--- a/omx/gstomx.conf.in
+++ b/omx/gstomx.conf.in
@@ -64,7 +64,7 @@  omx_h264dec,
   type=GstOmxH264Dec,
   library-name=libomxil-bellagio.so.0,
   component-name=OMX.st.video_decoder.avc,
-  sink="video/x-h264, " VIDEO_SIZE_RATE ";",
+  sink="video/x-h264, stream-format=(string)avc, alignment=(string)nal, " VIDEO_SIZE_RATE ";",
   src=RAW_VIDEO_CAPS,
   rank=256;
 
-- 
1.7.0.4