gst/videorate/gstvideorate.c: Add jpeg and png image media types to the caps. Fixes #561436.

Original commit message from CVS:
* gst/videorate/gstvideorate.c:
Add jpeg and png image media types to the caps. Fixes #561436.
This commit is contained in:
Wim Taymans 2008-11-22 14:44:26 +00:00
parent 096efe2fe9
commit 9d0c9fe49b
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/videorate/gstvideorate.c:
Add jpeg and png image media types to the caps. Fixes #561436.
2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/playback/gstplaysink.c: (gen_audio_chain):

View file

@ -109,14 +109,14 @@ static GstStaticPadTemplate gst_video_rate_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb")
GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb; image/jpeg; image/png")
);
static GstStaticPadTemplate gst_video_rate_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb")
GST_STATIC_CAPS ("video/x-raw-yuv; video/x-raw-rgb; image/jpeg; image/png")
);
static void gst_video_rate_swap_prev (GstVideoRate * videorate,