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 578160 - ffenc_h263 doesn't list the resolutions it actually supports
ffenc_h263 doesn't list the resolutions it actually supports
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other All
: Normal normal
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-06 17:27 UTC by Tristan Matthews
Modified: 2009-11-10 11:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Make sure we use restricted caps when applicable (1.06 KB, patch)
2009-11-09 21:20 UTC, Sjoerd Simons
committed Details | Review

Description Tristan Matthews 2009-04-06 17:27:33 UTC
Please describe the problem:
When listing the caps of ffenc_h263, it doesn't state which resolutions it can accept on its src, while gstffmpegcodecmap.c indicates the following:
      
        /* 128x96, 176x144, 352x288, 704x576, and 1408x1152. slightly reordered
         * because we want automatic negotiation to go as close to 320x240 as
         * possible. */
        const static gint widths[] = { 352, 704, 176, 1408, 128 };
        const static gint heights[] = { 288, 576, 144, 1152, 96 };


Steps to reproduce:
gst-inspect ffenc_h263

or run

gst-launch videotestsrc ! video/x-raw-yuv, width=640, height=480 ! ffenc_h263 ! ffdec_h263 ! xvimagesink


Actual results:
in the first case, there's no mention of the finite resolutions supported by ffenc_h263.
in the second case, the pipeline fails with:
WARNING: erroneous pipeline: could not link videotestsrc0 to ffenc_h2630


Expected results:
in the first case, I'd expect the resolutions to be listed in some way.

in the second case, I'd expect an error message or warning about the resolution being unacceptable.



Does this happen every time?
yes

Other information:
Comment 1 Sjoerd Simons 2009-11-09 21:20:03 UTC
Created attachment 147325 [details] [review]
Make sure we use restricted caps when applicable