On Wed, 2017-05-31 at 22:14 +0200, Francesco Poli wrote: > On Wed, 31 May 2017 10:09:46 +0300 Sebastian Dröge wrote: > > [...] > > Thanks for the sample file. > > You're welcome. > > > I can reproduce this here and it's caused > > by the libjpeg based decoder from GStreamer. The one based on > > ffmpeg > > works just fine. > > How can I force GStreamer to use the ffmpeg based decoder with > gst-launch-1.0? > And from within an application that uses the GStreamer library?
See what I wrote in the upstream bug report. You can explicitly use avdec_mjpeg in a custom pipeline. For using it automatically in decodebin/playbin, you would have to adjust the ranks of jpegparse and avdec_mjpeg. Either by changing their code, or from your application with gst_plugin_feature_set_rank().
signature.asc
Description: This is a digitally signed message part