Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
branches:nemo:devel:hw:ti:omap4:common
>
gst-plugins-base
> 0031-encodebin-whitelist-h264parse-only-when-plugging-par.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0031-encodebin-whitelist-h264parse-only-when-plugging-par.patch of Package gst-plugins-base
From 19708dc3c3d69e28e377083e9bb9aaa6bfe07fc7 Mon Sep 17 00:00:00 2001 From: Alessandro Decina <alessandro.decina@collabora.co.uk> Date: Thu, 7 Jul 2011 16:11:48 +0200 Subject: [PATCH 31/38] encodebin: whitelist h264parse only when plugging parsers... ...and fix parsers post 24.14 --- gst/encoding/gstencodebin.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index f7b75d1..fe6abc5 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -779,6 +779,7 @@ _get_parser (GstEncodeBin * ebin, GstEncodingProfile * sprof) format = gst_encoding_profile_get_format (sprof); + GST_DEBUG ("Getting list of parsers for format %" GST_PTR_FORMAT, format); /* FIXME : requesting twice the parsers twice is a bit ugly, we should @@ -802,7 +803,8 @@ _get_parser (GstEncodeBin * ebin, GstEncodingProfile * sprof) break; } - if (parserfact) + if (parserfact + && !strcmp (((GstPluginFeature *) parserfact)->name, "h264parse")) parser = gst_element_factory_create (parserfact, NULL); gst_plugin_feature_list_free (parsers); -- 1.7.5.4