summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpjpegdepay.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-05-05 16:28:44 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-05-05 16:28:44 +0200
commit7c59f39bfe6eb6a1888ee94001d85d603d504770 (patch)
tree24a345810fdd38eb1499cad80ac715a4e41c2d4b /gst/rtp/gstrtpjpegdepay.h
parent46061880390812e229a8a86d5fbbc0cb545d0d36 (diff)
rtpjpegdepay: use width/height from payload
Use the width and the height from the payload headers and set them on the output caps for added awesomeness. Fix quant parsing, we need to check the type in the lower 6 bits. Add first bits of caching quantization tables.
Diffstat (limited to 'gst/rtp/gstrtpjpegdepay.h')
-rw-r--r--gst/rtp/gstrtpjpegdepay.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtp/gstrtpjpegdepay.h b/gst/rtp/gstrtpjpegdepay.h
index f6a3bb62..7e0c918d 100644
--- a/gst/rtp/gstrtpjpegdepay.h
+++ b/gst/rtp/gstrtpjpegdepay.h
@@ -48,6 +48,8 @@ struct _GstRtpJPEGDepay
/* cached quant tables */
guint8 * qtables[255];
+
+ gint width, height;
};
struct _GstRtpJPEGDepayClass