Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
branches:nemo:devel:hw:ti:omap4:common
>
gst-plugins-base
> 0026-encodebin-whitelist-h264parse-only-when-plugging-par.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0026-encodebin-whitelist-h264parse-only-when-plugging-par.patch of Package gst-plugins-base
From 243950d443ad88df88580e03cc9151a16c422565 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] encodebin: whitelist h264parse only when plugging parsers... ...and fix parsers post 24.14 --- gst/encoding/gstencodebin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index 20e4715..7074df2 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -786,6 +786,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 @@ -809,7 +810,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.9.5