GNOME Bugzilla – Bug 641827
rtptheorapay: doesn't handle 0-size packets
Last modified: 2011-03-08 15:32:26 UTC
gst-launch -v v4l2src ! 'video/x-raw-yuv, width=320,height=240' ! theoraenc ! identity ! rtptheorapay config-interval=1 ! fakesink ... /GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain ******* (identity0:sink)i (28 bytes, timestamp: 0:00:10.271465869, duration: 0:00:00.033333333, offset: 10233333333, offset_end: 17569, flags: 256) 0x184c400" /GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain ******* (identity0:sink)i (0 bytes, timestamp: 0:00:10.303454859, duration: 0:00:00.033333334, offset: 10266666666, offset_end: 17570, flags: 256) 0x15dde00" ... WARNING: from element /GstPipeline:pipeline0/GstRtpTheoraPay:rtptheorapay0: Invalid packet size (1 < 0 <= 0xffff) Additional debug info: gstrtptheorapay.c(746): gst_rtp_theora_pay_handle_buffer (): /GstPipeline:pipeline0/GstRtpTheoraPay:rtptheorapay0 ... /GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain ******* (identity0:sink)i (75 bytes, timestamp: 0:00:10.339410561, duration: 0:00:00.033333333, offset: 10300000000, offset_end: 17571, flags: 256) 0x15dde00" /GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain ******* (identity0:sink)i (271 bytes, timestamp: 0:00:10.371441528, duration: 0:00:00.033333333, offset: 10333333333, offset_end: 17572, flags: 256) 0x184c400" IIRC 0-size packets have a meaning (repeat frame?).
commit 4279aa6a686524f3798615fffe8259ef864a0b59 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Feb 14 16:46:46 2011 +0100 theorapay: handle 0 sized packets Handle 0 sized packets (repeat frame) in the payloader and depayloader. Fixes #641827