Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
branches:nemo:devel:hw:ti:omap4:common
>
gst-plugins-base
> 0052-playsink-remove-obsolete-stridetransform.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0052-playsink-remove-obsolete-stridetransform.patch of Package gst-plugins-base
From c779786a365a040d775fb26082fa573099f42dd1 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Wed, 5 Dec 2012 15:22:01 +0000 Subject: [PATCH] playsink: remove obsolete stridetransform This should not be needed anymore now that -strided caps are obsolete. This also fixes an issue where at least some of the ARM versions of copying routines are not copying all the necessary bytes when the number of bytes to copy is not a multiple of 8, leaving a band of corrupted data on the right of some frames. --- gst/playback/gstplaysink.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index 94847d4..a82a387 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -1336,15 +1336,13 @@ gen_video_chain (GstPlaySink * playsink, gboolean raw, gboolean async) } if (raw && !(playsink->flags & GST_PLAY_FLAG_NATIVE_VIDEO)) { - GST_DEBUG_OBJECT (playsink, "creating stridetransform"); - chain->conv = - gst_parse_bin_from_description ("ffmpegcolorspace ! stridetransform", - TRUE, NULL); + GST_DEBUG_OBJECT (playsink, "creating ffmpegcolorspace"); + chain->conv = gst_element_factory_make ("ffmpegcolorspace", "vconv"); if (chain->conv == NULL) { - post_missing_element_message (playsink, "stridetransform"); + post_missing_element_message (playsink, "ffmpegcolorspace"); GST_ELEMENT_WARNING (playsink, CORE, MISSING_PLUGIN, (_("Missing element '%s' - check your GStreamer installation."), - "stridetransform"), ("video rendering might fail")); + "ffmpegcolorspace"), ("video rendering might fail")); } else { gst_bin_add (bin, chain->conv); if (prev) { -- 1.7.9.5