[gst-cvs] gst-plugins-good: rtpjpegpay: correctly set the type header
Wim Taymans
wtay at kemper.freedesktop.org
Tue May 5 07:37:36 PDT 2009
Module: gst-plugins-good
Branch: master
Commit: 0f1033c59f0e8c4ab637b29194ffdc0c03a81309
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=0f1033c59f0e8c4ab637b29194ffdc0c03a81309
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Tue May 5 16:32:17 2009 +0200
rtpjpegpay: correctly set the type header
Don't require width/height on the caps. Use the SOF header to find width/height
and fall back to the caps if there is no SOF. Also use the SOF info to find the
subsampling and quantization tables used. This allows us to set the right type
value in the JPEG rtp header.
Deprecate the quality property, it's unused now and it was used wrongly before.
Always send full quant tables for now until we have some code to detect default
ones.
Fixes #580880
---
gst/rtp/gstrtpjpegpay.c | 256 ++++++++++++++++++++++++++++++++++++++---------
gst/rtp/gstrtpjpegpay.h | 5 +-
2 files changed, 211 insertions(+), 50 deletions(-)
Diff: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/diff/?id=0f1033c59f0e8c4ab637b29194ffdc0c03a81309
More information about the Gstreamer-commits
mailing list