Added a Video 4 linux source. Not generic at all and may not work on any other system...
authorWim Taymans <wim.taymans@gmail.com>
Fri, 25 Feb 2000 23:18:51 +0000 (23:18 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 25 Feb 2000 23:18:51 +0000 (23:18 +0000)
Original commit message from CVS:
Added a Video 4 linux source. Not generic at all and may not work
on any other system but mine.

configure.in
gst/meta/videoraw.h
test/mp1parse.c

index 1cec22d..b31bd50 100644 (file)
@@ -323,6 +323,8 @@ plugins/dvdsrc/Makefile
 plugins/vcdsrc/Makefile
 plugins/cobin/Makefile
 plugins/rtjpeg/Makefile
+plugins/capture/Makefile
+plugins/capture/v4l/Makefile
 test/Makefile
 test/xml/Makefile
 test/bindings/Makefile
index 9526144..4736039 100644 (file)
 typedef struct _MetaVideoRaw MetaVideoRaw;
 
 enum {
-  GST_META_VIDEORAW_RGB15,
-  GST_META_VIDEORAW_RGB16,
+  GST_META_VIDEORAW_RGB555,
+  GST_META_VIDEORAW_BGR555,
+  GST_META_VIDEORAW_RGB565,
+  GST_META_VIDEORAW_BGR565,
   GST_META_VIDEORAW_RGB24,                   // RGB
   GST_META_VIDEORAW_RGB32,
   GST_META_VIDEORAW_YUV420,                  // YUV planar
index bbe64bd..bfc57eb 100644 (file)
@@ -70,7 +70,7 @@ void new_pad_created(GstElement *parse,GstPad *pad,GstElement *pipeline) {
     g_return_if_fail(decode_video != NULL);
     show = gst_elementfactory_make("videosink","show");
     g_return_if_fail(show != NULL);
-    //gtk_object_set(GTK_OBJECT(show),"scale",2.0,NULL);
+    gtk_object_set(GTK_OBJECT(show),"scale",2.0,NULL);
 
                appwindow = gnome_app_new("MPEG1 player","MPEG1 player");
                gnome_app_set_contents(GNOME_APP(appwindow),