Added a Video 4 linux source. Not generic at all and may not work on any other system but mine.

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.
This commit is contained in:
Wim Taymans 2000-02-25 23:18:51 +00:00
parent a45625d478
commit aa0b9ec506
3 changed files with 7 additions and 3 deletions

View file

@ -323,6 +323,8 @@ plugins/dvdsrc/Makefile
plugins/vcdsrc/Makefile plugins/vcdsrc/Makefile
plugins/cobin/Makefile plugins/cobin/Makefile
plugins/rtjpeg/Makefile plugins/rtjpeg/Makefile
plugins/capture/Makefile
plugins/capture/v4l/Makefile
test/Makefile test/Makefile
test/xml/Makefile test/xml/Makefile
test/bindings/Makefile test/bindings/Makefile

View file

@ -26,8 +26,10 @@
typedef struct _MetaVideoRaw MetaVideoRaw; typedef struct _MetaVideoRaw MetaVideoRaw;
enum { enum {
GST_META_VIDEORAW_RGB15, GST_META_VIDEORAW_RGB555,
GST_META_VIDEORAW_RGB16, GST_META_VIDEORAW_BGR555,
GST_META_VIDEORAW_RGB565,
GST_META_VIDEORAW_BGR565,
GST_META_VIDEORAW_RGB24, // RGB GST_META_VIDEORAW_RGB24, // RGB
GST_META_VIDEORAW_RGB32, GST_META_VIDEORAW_RGB32,
GST_META_VIDEORAW_YUV420, // YUV planar GST_META_VIDEORAW_YUV420, // YUV planar

View file

@ -70,7 +70,7 @@ void new_pad_created(GstElement *parse,GstPad *pad,GstElement *pipeline) {
g_return_if_fail(decode_video != NULL); g_return_if_fail(decode_video != NULL);
show = gst_elementfactory_make("videosink","show"); show = gst_elementfactory_make("videosink","show");
g_return_if_fail(show != NULL); 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"); appwindow = gnome_app_new("MPEG1 player","MPEG1 player");
gnome_app_set_contents(GNOME_APP(appwindow), gnome_app_set_contents(GNOME_APP(appwindow),