diff options
author | Luc Deschenaux <luc.deschenaux at freesurf.ch> | 2009-08-03 18:02:31 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-08-03 18:02:31 +0200 |
commit | 654ca56d854471fcceb9e406c68a0e2f6f48e116 (patch) | |
tree | 5af1b94ccc815c10920d3775b336422baef0b7ae /gst/rtp/gstrtpjpegdepay.h | |
parent | efb9c1797553d88c073c8f8ceccfd9e638894fd2 (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.h | 5 |
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; }; |