[Bug 741030] theoradec: Sets video-meta width/height from padded values
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Feb 2 00:07:03 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=741030
GStreamer | gst-plugins-good | git master
--- Comment #16 from Jan Schmidt <thaytan at noraisin.net> 2015-02-02 08:06:56 UTC ---
There is something interesting going on during the decoding:
theoradec gets the header packet, and then negotiates to 1026x1026:
#0 0x00007fffed9fabab in theora_dec_decide_allocation (decoder=0x7fffe0025900
[GstTheoraDec], query=0x7fffe40a79e0) at gsttheoradec.c:837
#1 0x00007ffff7b8ca95 in gst_video_decoder_negotiate_pool
(decoder=0x7fffe0025900 [GstTheoraDec], caps=<optimized out>) at
gstvideodecoder.c:3359
#2 0x00007ffff7b9396e in gst_video_decoder_negotiate (decoder=0x7fffe0025900
[GstTheoraDec]) at gstvideodecoder.c:3525
#3 0x00007fffed9f95dd in theora_handle_type_packet (dec=0x7fffe0025900
[GstTheoraDec]) at gsttheoradec.c:512
#4 0x00007fffed9f9764 in theora_handle_header_packet (dec=0x7fffe0025900
[GstTheoraDec], packet=0x7fffee401a90) at gsttheoradec.c:543
Then when it decodes the first buffer, it does negotiation again, but
negotiates to uncropped buffers of 1040x1040. Caps stay the same - 1026x1026.
videoconvert/videofilter gets confused and fails to map the resulting buffer.
#0 0x00007fffed9fabab in theora_dec_decide_allocation (decoder=0x7fffe0025900
[GstTheoraDec], query=0x7fffe40a78f0) at gsttheoradec.c:837
#1 0x00007ffff7b8ca95 in gst_video_decoder_negotiate_pool
(decoder=0x7fffe0025900 [GstTheoraDec], caps=<optimized out>) at
gstvideodecoder.c:3359
#2 0x00007ffff7b927f3 in gst_video_decoder_finish_frame
(decoder=0x7fffe0025900 [GstTheoraDec]) at gstvideodecoder.c:3497
#3 0x00007ffff7b927f3 in gst_video_decoder_finish_frame
(decoder=0x7fffe0025900 [GstTheoraDec], frame=0x7fffe002d690) at
gstvideodecoder.c:2711
#4 0x00007fffed9fab6c in theora_dec_handle_frame (bdec=0x7fffe0025900
[GstTheoraDec], frame=0x7fffe002d690) at gsttheoradec.c:821
#5 0x00007ffff7b8af56 in gst_video_decoder_decode_frame
(decoder=decoder at entry=0x7fffe0025900 [GstTheoraDec], frame=0x7fffe002d690) at
gstvideodecoder.c:3067
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list