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 693173 - deinterlace method=greedyl fields=top does not complete
deinterlace method=greedyl fields=top does not complete
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.0.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-02-04 23:48 UTC by David Schleef
Modified: 2013-03-17 14:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Schleef 2013-02-04 23:48:12 UTC
Example launch line:

gst-launch-1.0 \
  videotestsrc num-buffers=20 pattern=ball ! \
  video/x-raw,format=UYVY,framerate=10/1,interlaced=false ! \
  interlace field-pattern=1:1 allow-rff=true ! \
  deinterlace method=greedyl fields=top ! \
  videoconvert ! \
  pngenc snapshot=false ! \
  identity silent=false -v ! \
  multifilesink location=%05d.png

The pipeline stalls waiting for the last frame.  "method=linear" works, "fields=all" works.
Comment 1 Tim-Philipp Müller 2013-03-17 14:48:28 UTC
commit 288e05c99dc5ba6ca04343429e3cc7b1162f3e83
Author: Kishore Arepalli <kishore.arepalli@gmail.com>
Date:   Thu Mar 14 14:12:05 2013 +0100

    deinterlace: fix infinite loop on EOS with non-default methods or fields
    
    Fixes problem of infinite loop in gst_deinterlace_reset_history.
    Last field in the history was never deinterlaced because idx becomes negative.
    
    Happens e.g. with method=scalerbob fields=bottom or
    method=greedyl fields=top
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695644
    https://bugzilla.gnome.org/show_bug.cgi?id=693173