gst/videorate/gstvideorate.c: Add jpeg and png image media types to the caps. Fixes...
authorWim Taymans <wim.taymans@gmail.com>
Sat, 22 Nov 2008 14:44:26 +0000 (14:44 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 22 Nov 2008 14:44:26 +0000 (14:44 +0000)
Original commit message from CVS:
* gst/videorate/gstvideorate.c:
Add jpeg and png image media types to the caps. Fixes #561436.

ChangeLog
gst/videorate/gstvideorate.c

index 5150abd..b7692e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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):
        Don't post an error when we can't configure the volume but post a
        warning instead. Fixes #561780.
index f38d8d0..8d22186 100644 (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,