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 647709 - mpeg2dec: errors out on not-linked flow return
mpeg2dec: errors out on not-linked flow return
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other Linux
: Normal normal
: 0.10.18
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-13 20:37 UTC by Christian Fredrik Kalager Schaller
Modified: 2011-04-14 22:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Fredrik Kalager Schaller 2011-04-13 20:37:28 UTC
I am trying to allow in Transmageddon to transcode only the audio part of a video file, basically inputing a video and outputing a audio file with just the sound.

However it seems that if you don't connect something to the videopad, uridecodebin fails to output just audio.

Tried attaching a fakesink to the videopad, but this seems to mess up getting EOS. Also it would of course be much preferable to not decode the video at all in this usecase.
Comment 1 Sebastian Dröge (slomo) 2011-04-14 07:46:50 UTC
Does this happen with all container formats and could you attach a testcase, for example your transmageddon patch?


Preventing decoding of video could be done by adding a autoplug-continue handler to uridecodebin and claiming from that handler that all video formats are raw.
Comment 2 Christian Fredrik Kalager Schaller 2011-04-14 16:57:14 UTC
Actually further testing shows that this is an issue with mpeg2dec which fails when getting not-connected on the pad. With theora it worked fine I discovered.
Comment 3 Tim-Philipp Müller 2011-04-14 22:14:49 UTC
commit 9ccdcda5e68bef768cacb5c27612f8f7b55b0b31
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date:   Mon Feb 21 13:13:11 2011 +0100

    mpeg2dec: do not fail fatally when unlinked
    
    ... as _NOT_LINKED was neither tested as fatal before nor complained about.