summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/gstv4l2src.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-01-07 13:18:08 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2004-01-07 13:18:08 +0000
commit1b63854c1fc093234b7432f03c9f415936e4d21c (patch)
treeab4b97641300961fca2c237fcd5743610b273171 /sys/v4l2/gstv4l2src.c
parent11207007164b355e5d9a69e09a579d36ebf296d1 (diff)
downloadgst-plugins-bad-1b63854c1fc093234b7432f03c9f415936e4d21c.tar.gz
gst-plugins-bad-1b63854c1fc093234b7432f03c9f415936e4d21c.tar.bz2
gst-plugins-bad-1b63854c1fc093234b7432f03c9f415936e4d21c.zip
Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower o...
Original commit message from CVS: 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain), (gst_afsink_handle_event): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_init): * gst/avi/gstavimux.c: (gst_avimux_request_new_pad): * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init): * sys/dxr3/dxr3spusink.c: (dxr3spusink_init): * sys/dxr3/dxr3videosink.c: (dxr3videosink_init): Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower on my TODO list...). * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps): Never return NULL as caps.
Diffstat (limited to 'sys/v4l2/gstv4l2src.c')
-rw-r--r--sys/v4l2/gstv4l2src.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c
index b6e86b0a..0c275b2c 100644
--- a/sys/v4l2/gstv4l2src.c
+++ b/sys/v4l2/gstv4l2src.c
@@ -743,7 +743,7 @@ gst_v4l2src_getcaps (GstPad *pad)
int min_w, max_w, min_h, max_h;
if (!GST_V4L2_IS_OPEN(GST_V4L2ELEMENT(v4l2src))) {
- return NULL;
+ return gst_caps_new_any ();
}
/* build our own capslist */