After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661747 - jpegdec: post error on EOS if no frame has been decoded
jpegdec: post error on EOS if no frame has been decoded
Status: RESOLVED DUPLICATE of bug 711094
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-10-14 10:14 UTC by Jens Georg
Modified: 2013-12-31 08:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
core: If stop pipeline on link error (3.25 KB, patch)
2011-10-14 10:14 UTC, Jens Georg
none Details | Review
Corrupt jpeg file (83.71 KB, image/jpeg)
2011-10-14 13:07 UTC, Jens Georg
  Details
Sample code that shows the behaviour (3.60 KB, text/x-csrc)
2011-10-14 13:08 UTC, Jens Georg
  Details
Updated for 1.x (3.58 KB, text/x-csrc)
2013-01-10 10:31 UTC, Jens Georg
  Details

Description Jens Georg 2011-10-14 10:14:18 UTC
Error out properly if encoder and decoder are not compatible
Comment 1 Jens Georg 2011-10-14 10:14:19 UTC
Created attachment 198997 [details] [review]
core: If stop pipeline on link error

If encodebin and decodebin fail to link post an error to the pipeline.
Otherwise half of the pipeline is stuck in PAUSED forever.
Comment 2 Jens Georg 2011-10-14 12:26:01 UTC
Hm, that works properly with a C version of our code (HttpSink switched for udpsink). Wonder if HttpSink doing something wrong.
Comment 3 Jens Georg 2011-10-14 13:07:46 UTC
Created attachment 199004 [details]
Corrupt jpeg file
Comment 4 Jens Georg 2011-10-14 13:08:19 UTC
Created attachment 199005 [details]
Sample code that shows the behaviour
Comment 5 Jens Georg 2011-10-14 13:09:21 UTC
When running the attached C program on the attached file, there is no error message, the pipeline is just stuck somewhere.
Comment 6 Tim-Philipp Müller 2012-12-25 16:30:20 UTC
Is this still an issue with 1.x? If yes, could you update your sample code?
Comment 7 Jens Georg 2013-01-10 10:31:47 UTC
Created attachment 233143 [details]
Updated for 1.x

Still no error or EOS on bus:


[rygel] jens@laptop-jge: ~/tmp $ G_MESSAGES_DEBUG=all ./trc 
** (trc:20702): DEBUG: Message state-changed from udpsink0
** (trc:20702): DEBUG: Message state-changed from typefind
** (trc:20702): DEBUG: Message state-changed from decodebin0
** (trc:20702): DEBUG: Message state-changed from filesrc0
** (trc:20702): DEBUG: Message state-changed from queue0
** (trc:20702): DEBUG: Message state-changed from capsfilter0
** (trc:20702): DEBUG: Message state-changed from streamcombiner0
** (trc:20702): DEBUG: Message state-changed from identity0
** (trc:20702): DEBUG: Message state-changed from audioconvert1
** (trc:20702): DEBUG: Message state-changed from audioresample0
** (trc:20702): DEBUG: Message state-changed from audioconvert0
** (trc:20702): DEBUG: Message state-changed from audiorate0
** (trc:20702): DEBUG: Message state-changed from streamsplitter0
** (trc:20702): DEBUG: Message state-changed from queue1
** (trc:20702): DEBUG: Message state-changed from encodebin0
** (trc:20702): DEBUG: Message state-changed from transcode-src
** (trc:20702): DEBUG: Message state-changed from pipeline
** (trc:20702): DEBUG: Message stream-status from sink
** (trc:20702): DEBUG: Message state-changed from typefind
** (trc:20702): DEBUG: Message state-changed from filesrc0
** (trc:20702): DEBUG: Message stream-status from sink
** (trc:20702): DEBUG: Message stream-status from src
** (trc:20702): DEBUG: Message state-changed from queue0
** (trc:20702): DEBUG: Message state-changed from capsfilter0
** (trc:20702): DEBUG: Message state-changed from streamcombiner0
** (trc:20702): DEBUG: Message state-changed from identity0
** (trc:20702): DEBUG: Message state-changed from audioconvert1
** (trc:20702): DEBUG: Message state-changed from audioresample0
** (trc:20702): DEBUG: Message state-changed from audioconvert0
** (trc:20702): DEBUG: Message stream-status from src
** (trc:20702): DEBUG: Message state-changed from audiorate0
** (trc:20702): DEBUG: Message state-changed from streamsplitter0
** (trc:20702): DEBUG: Message stream-status from src
** (trc:20702): DEBUG: Message state-changed from queue1
** (trc:20702): DEBUG: Message state-changed from encodebin0
** (trc:20702): DEBUG: Message stream-status from src
** (trc:20702): DEBUG: Message state-changed from avdec_mjpeg0
** (trc:20702): DEBUG: Message state-changed from avdec_mjpeg0
0:00:00.048912150 20702       0xabc8a0 ERROR                  libav :0:: dqt: 16bit precision
0:00:00.049003657 20702       0xabc8a0 ERROR                  libav :0:: dqt: 16bit precision
0:00:00.049346621 20702       0xabc8a0 ERROR                  libav :0:: dqt: 16bit precision
0:00:00.049417125 20702       0xabc8a0 ERROR                  libav :0:: dqt: 16bit precision
Comment 8 Jens Georg 2013-01-10 10:32:56 UTC
It also opts to chose an mjpeg decoder here, just as in bug 688823
Comment 9 Sebastian Dröge (slomo) 2013-12-31 08:43:04 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

*** This bug has been marked as a duplicate of bug 711094 ***