mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
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:
parent
a45625d478
commit
aa0b9ec506
3 changed files with 7 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue