Wim Taymans
01838ff975
v4l2src: don't error in shutdown
...
Don't log with the ERROR category when we are stopping because we are shutting
down.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=672824
2012-03-26 16:00:42 +02:00
Wim Taymans
cfe58e7156
v4l2: fix latency
2012-03-26 15:51:28 +02:00
Wim Taymans
fa436c0799
v4l2: called base class start
...
Chain up to the base class start method so that metadata is properly tagged.
Remove an unused variable.
fixes: https://bugzilla.gnome.org/show_bug.cgi?id=672813
2012-03-26 15:33:59 +02:00
Wim Taymans
ced47580b7
update for bufferpool changes
2012-03-15 22:11:17 +01:00
Wim Taymans
f3a770a20c
update for allocation query changes
2012-03-15 20:37:56 +01:00
Wim Taymans
6ed3bc109b
update for bufferpool api change
2012-03-15 14:06:40 +01:00
Wim Taymans
ecaea36c3d
update for memory api changes
2012-03-15 13:36:17 +01:00
Wim Taymans
751fcf035b
take padding into account
2012-03-14 19:56:56 +01:00
Wim Taymans
a32d944a38
fix for caps api changes
2012-03-11 19:06:37 +01:00
Mark Nauwelaerts
26dd999b68
Merge branch 'master' into 0.11
...
Conflicts:
ext/wavpack/gstwavpackparse.c
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.h
sys/v4l2/gstv4l2videooverlay.c
2012-03-05 13:29:59 +01:00
Wim Taymans
2adc948d18
x-raw-bayer -> x-bayer
2012-03-05 12:43:17 +01:00
Oleksij Rempel (Alexey Fisher)
a83d2f7047
v4l2sink: don't use deprecated XKeycodeToKeysym
...
https://bugzilla.gnome.org/show_bug.cgi?id=671299
Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
2012-03-05 11:34:36 +00:00
Tim-Philipp Müller
6f707fcbca
v4l2: clear DISCONT flag when recycling buffers into the buffer pool
...
The base class may have set the DISCONT flag on the first buffer pushed
out. We need to clear that when recycling buffers back into the buffer
pool, otherwise we constantly push out buffers with the discont flag
set, which might upset downstream elements, esp. for compressed
formats like mpeg-ts.
2012-03-03 13:07:45 +00:00
Oleksij Rempel (Alexey Fisher)
4cd9255f0a
v4l2src: fix v4l2_munmap() for compressed formats
...
Make sure we always call munmap() with the same size we called mmap()
with before.
Current v4l2src uses the same structure for VIDIOC_QUERYBUF, VIDIOC_QBUF
and v4l2_munmap calls. The problem is that the video buffer size (length)
may vary for compressed or emulated bufs. VIDIOC_QBUF will change it if
we pass the pointer of a v4l2_buffer. This is why we should avoid using
same variable for mmap and video buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=671126
2012-03-03 13:07:40 +00:00
Sebastian Dröge
3299f39179
mixer/colorbalance: Update for API changes
2012-03-02 10:13:08 +01:00
Mark Nauwelaerts
f189f62b13
Merge branch 'master' into 0.11
...
Conflicts:
ext/wavpack/gstwavpackenc.c
tests/check/elements/audioiirfilter.c
tests/examples/v4l2/probe.c
2012-03-01 11:29:50 +01:00
Wim Taymans
9c789aa434
update for metadata API changes
2012-02-29 17:26:01 +01:00
Wim Taymans
dda3219e4c
update for metadata tags
2012-02-28 11:38:59 +01:00
Edward Hervey
9beda57c3a
Suppress deprecation warnings in selected files, for g_value_array_* mostly
2012-02-27 14:47:25 +01:00
Wim Taymans
c17aa1565a
v4l2: use public api
...
instead of poking into the private structures of the base class
2012-02-27 09:21:27 +01:00
Wim Taymans
0ab5677107
update for metadata change
2012-02-24 10:26:26 +01:00
Wim Taymans
ca9532ccc5
update for new memory api
2012-02-22 02:10:33 +01:00
Wim Taymans
6623ab258b
Merge branch 'master' into 0.11
2012-02-16 14:23:50 +01:00
Gary Ching-Pang Lin
c1c858f273
v4l2src: failure to query some optional controls is not a fatal error
...
Don't post a (fatal) error message on the bus just because we
failed to query some control. Fixes issue with built-in
Suyin Corp webcam for HP notebook (usbid 064e:e28a) on
OpenSuse 12.1, where querying red/blue balance fails.
https://bugzilla.gnome.org/show_bug.cgi?id=670197
2012-02-16 13:10:47 +00:00
Tuukka Pasanen
ef37bb48bc
v4l2src: fix for webcamstudio vloopback
...
Because vlooback emits 25 - ENOTTY and no EINVAL v4l2src thought it
can't handle this and does not work.
https://bugzilla.gnome.org/show_bug.cgi?id=669455
2012-02-16 12:59:10 +00:00
Wim Taymans
9365f12d6e
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
2012-02-08 16:43:30 +01:00
Sebastian Dröge
0b517ce9fb
Merge branch '0.11' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-good into 0.11
2012-01-25 12:49:34 +01:00
Sebastian Dröge
10554b271f
Merge branch 'master' into 0.11
...
Conflicts:
ext/flac/gstflacdec.c
ext/jpeg/gstjpegenc.c
ext/pulse/pulsesink.c
sys/v4l2/gstv4l2src.c
2012-01-25 12:49:11 +01:00
Wim Taymans
b4630dd3e0
more memory API porting
2012-01-25 12:30:29 +01:00
Wim Taymans
1584806634
port to new gthread API
2012-01-19 11:33:53 +01:00
Vincent Penquerc'h
b0608128b1
v4l2src: fix caps leak
2012-01-13 17:25:59 +00:00
Havard Graff
150403ab13
v4l2src: Don't assert when the interface is not implemented.
...
Simply return FALSE instead.
https://bugzilla.gnome.org/show_bug.cgi?id=667817
2012-01-13 10:07:20 +00:00
Sebastian Dröge
93e3ed5a86
Merge branch 'master' into 0.11
...
Conflicts:
ext/cairo/gsttextoverlay.c
ext/pulse/pulseaudiosink.c
gst/audioparsers/gstaacparse.c
gst/avi/gstavimux.c
gst/flv/gstflvmux.c
gst/interleave/interleave.c
gst/isomp4/gstqtmux.c
gst/matroska/matroska-demux.c
gst/matroska/matroska-mux.c
gst/matroska/matroska-mux.h
gst/matroska/matroska-read-common.c
gst/multifile/gstmultifilesink.c
gst/multipart/multipartmux.c
gst/shapewipe/gstshapewipe.c
gst/smpte/gstsmpte.c
gst/udp/gstmultiudpsink.c
gst/videobox/gstvideobox.c
gst/videocrop/gstaspectratiocrop.c
gst/videomixer/videomixer.c
gst/videomixer/videomixer2.c
gst/wavparse/gstwavparse.c
po/ja.po
po/lv.po
po/sr.po
tests/check/Makefile.am
tests/check/elements/qtmux.c
tests/check/elements/rgvolume.c
2012-01-10 14:32:32 +01:00
Wim Taymans
4b8975f867
update for removed property probe
2011-12-21 11:59:46 +01:00
Wim Taymans
4f42f58565
v4l2: update for new interlaced caps
2011-12-19 19:03:52 +01:00
Tim-Philipp Müller
66f6e12888
Work around deprecated thread API in glib master
...
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
668e15598b
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
sys/v4l2/gstv4l2object.c
2011-12-08 01:28:26 +00:00
Vincent Penquerc'h
687d6138d1
v4l2src: do not ignore the highest frame interval
...
https://bugzilla.gnome.org/show_bug.cgi?id=665387
2011-12-07 13:41:12 +00:00
Vincent Penquerc'h
2b0a001d0d
v4l2src: do not ignore the largest resolution
...
The 'max' value isn't an STL style "one after the end" bound,
but the largest allowed value.
https://bugzilla.gnome.org/show_bug.cgi?id=665387
2011-12-07 13:41:12 +00:00
Tim-Philipp Müller
87ba312e19
v4l2: replace deprecated GST_CLASS_LOCK
2011-12-05 12:15:21 +00:00
Vincent Penquerc'h
1e974b1581
v4l2src: add a comment about a "hidden" assumption on rank values
...
https://bugzilla.gnome.org/show_bug.cgi?id=665387
2011-12-02 14:44:47 +00:00
Wim Taymans
710491109d
fix for moved interfaces
2011-11-29 19:10:58 +01:00
Vincent Penquerc'h
c0e101e93f
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:30:27 +00:00
Tim-Philipp Müller
736a484129
More printf format warning fixes
2011-11-22 01:40:39 +00:00
Wim Taymans
07cc855b24
Merge branch 'master' into 0.11
...
Conflicts:
ext/speex/gstspeexenc.c
gst/rtpmanager/rtpsession.c
2011-11-17 17:17:11 +01:00
Wim Taymans
797523efbd
_peer_get_caps() -> _peer_query_caps()
2011-11-15 18:04:44 +01:00
Wim Taymans
b2d508ac40
update for _get_caps() -> _query_caps()
2011-11-15 18:04:44 +01:00
Sjoerd Simons
e7ae593993
v4l2: Set pixel-aspect-ratio to 1/1
...
We don't currently support setting the pixel-aspect-ratio from V4L2. So
simply set it to be 1/1 in the caps to prevent negotiation failures when
fixating to weird values (e.g. when the downstream caps has
pixel-aspect-ratio = [ MIN, MAX ] )
https://bugzilla.gnome.org/show_bug.cgi?id=663580
2011-11-14 11:43:41 +01:00
Tim-Philipp Müller
c27bbe4be2
Update for GstURIHandler get_protocols() changes
2011-11-13 23:44:44 +00:00
Tim-Philipp Müller
a150d1e734
soup, pushfile, rtsp, udp, v4l2: update for GstURIHandler API changes
2011-11-13 18:50:51 +00:00