summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpjpegdepay.h
diff options
context:
space:
mode:
authorLuc Deschenaux <luc.deschenaux at freesurf.ch>2009-08-03 18:02:31 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-08-03 18:02:31 +0200
commit654ca56d854471fcceb9e406c68a0e2f6f48e116 (patch)
tree5af1b94ccc815c10920d3775b336422baef0b7ae /gst/rtp/gstrtpjpegdepay.h
parentefb9c1797553d88c073c8f8ceccfd9e638894fd2 (diff)
jpegdepay: use attributes for extra properties
Use some of the SDP attributes when they are present to specify the output dimension and framerate. This allows us to receive jpeg frames larger than 2040 width/height. Fixes #564437
Diffstat (limited to 'gst/rtp/gstrtpjpegdepay.h')
-rw-r--r--gst/rtp/gstrtpjpegdepay.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpjpegdepay.h b/gst/rtp/gstrtpjpegdepay.h
index 7e0c918d..28581f17 100644
--- a/gst/rtp/gstrtpjpegdepay.h
+++ b/gst/rtp/gstrtpjpegdepay.h
@@ -48,7 +48,10 @@ struct _GstRtpJPEGDepay
/* cached quant tables */
guint8 * qtables[255];
-
+ gint frate_num;
+ gint frate_denom;
+ gint media_width;
+ gint media_height;
gint width, height;
};