GNOME Bugzilla – Bug 350278
[rtpmp2tdepay] Add support for proprietary headers
Last modified: 2007-03-02 12:16:28 UTC
Many hardware encoders use on top of UDP/RTP a supplementairy header. They do this with 2 purposes. 1. give optional information to the decoder 2. prevent a standard decoder to play there stream ( and so increase sales on there own decoders) GStreamer can support a lot of these decoders just by skipping these headers. If you don't use this option nothing changes.
Created attachment 70392 [details] [review] Proprietary header patch With this patch GStreamer can support many proprietary headers.
Could you please make a new patch that doesn't involve format changes of unrelated code? These changes won't last anyhow, since our code (*.c files) will be indented automatically on commit using gst-indent (~/gstreamer/tools/gst-indent)
Created attachment 70469 [details] [review] patch without extra indendation New patch without extra idendation, also a little better implementation.
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com> * gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_class_init), (gst_rtp_mp2t_depay_init), (gst_rtp_mp2t_depay_process), (gst_rtp_mp2t_depay_set_property), (gst_rtp_mp2t_depay_get_property): * gst/rtp/gstrtpmp2tdepay.h: Add support to strip off proprietary headers. Fixes #350278.