GNOME Bugzilla – Bug 561436
videorate element add image/jpeg to caps template
Last modified: 2008-11-22 14:44:19 UTC
I work with MJPEG cameras over a network connection. There are times when I would like to take one feed from a camera say at 8 frames/sec and after multipartdemux split the stream with tee and then adjust the rate on one of the branches to say 2 frames/sec. The videorate component will do this provided the source element talking to the camera is set to live mode. Other information: line 112 and 119 in gstvideorate.c changed from GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb") to GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb; image/jpeg")
* gst/videorate/gstvideorate.c: Add jpeg and png image media types to the caps. Fixes #561436.