Sebastian Dröge [Tue, 14 May 2013 14:34:54 +0000 (16:34 +0200)]
rglimiter: Fix event handling in unit tests
Sebastian Dröge [Tue, 14 May 2013 14:31:57 +0000 (16:31 +0200)]
rganalysis: Fix event handling in unit test
Sebastian Dröge [Tue, 14 May 2013 14:08:54 +0000 (16:08 +0200)]
qtmux: Fix event handling in unit test
Sebastian Dröge [Tue, 14 May 2013 14:00:58 +0000 (16:00 +0200)]
multifile: Fix event handling in unit test
Sebastian Dröge [Tue, 14 May 2013 11:58:01 +0000 (13:58 +0200)]
mulaw: Fix event handling in unit test
Sebastian Dröge [Tue, 14 May 2013 11:52:18 +0000 (13:52 +0200)]
matroskaparse: Make sure to send a segment event before dataflow
Michael Olbrich [Tue, 14 May 2013 08:52:19 +0000 (10:52 +0200)]
v4l2: only add interlace-mode to the caps for raw formats
https://bugzilla.gnome.org/show_bug.cgi?id=700280
Michael Olbrich [Tue, 14 May 2013 10:03:03 +0000 (12:03 +0200)]
v4l2: copy and set the actual size of the content
https://bugzilla.gnome.org/show_bug.cgi?id=700282
Sebastian Dröge [Tue, 14 May 2013 08:25:56 +0000 (10:25 +0200)]
interleave: Fix event handling in unit test
Sebastian Dröge [Tue, 14 May 2013 07:45:12 +0000 (09:45 +0200)]
deinterlace: Improve handling of min/max buffer numbers of the buffer pool
Matej Knopp [Tue, 14 May 2013 01:42:59 +0000 (03:42 +0200)]
deinterlace: set caps for buffer pool config
Olivier Crête [Mon, 13 May 2013 17:30:38 +0000 (13:30 -0400)]
multifilesink: Let the base class do get_times
This will make sync=TRUE work, the default is still sync=FALSE
Nicolas Dufresne [Sun, 12 May 2013 03:08:23 +0000 (23:08 -0400)]
interleave: Send stream-start before caps event
Nicolas Dufresne [Sun, 12 May 2013 03:24:36 +0000 (23:24 -0400)]
rtpmux: Send stream-start before caps
Nicolas Dufresne [Sun, 12 May 2013 03:28:12 +0000 (23:28 -0400)]
rtpjitterbuffer-test: Send stream-start before caps followed by segment
Nicolas Dufresne [Sun, 12 May 2013 03:34:36 +0000 (23:34 -0400)]
rtpbin-test: Send missing stream-start and segment events
Sebastian Dröge [Mon, 13 May 2013 13:36:19 +0000 (15:36 +0200)]
tests: Fix some more event handling in tests
Sebastian Dröge [Mon, 13 May 2013 13:19:36 +0000 (15:19 +0200)]
icydemux: Fix event handling in unit test
Sebastian Dröge [Mon, 13 May 2013 13:19:25 +0000 (15:19 +0200)]
icydemux: Fix sticky event handling
Sebastian Dröge [Mon, 13 May 2013 13:06:03 +0000 (15:06 +0200)]
flvmux: Push sticky events in the right order
Sebastian Dröge [Mon, 13 May 2013 12:55:14 +0000 (14:55 +0200)]
deinterleave: Fix event handling in test
Sebastian Dröge [Mon, 13 May 2013 12:07:11 +0000 (14:07 +0200)]
deinterleave: Fix sticky event handling
Sebastian Dröge [Mon, 13 May 2013 11:55:44 +0000 (13:55 +0200)]
deinterleave: Code style fixes
Sebastian Dröge [Mon, 13 May 2013 08:43:32 +0000 (10:43 +0200)]
rtpgstpay: First let baseclass handle events, then put them into the stream
Fixes handling of sticky events.
https://bugzilla.gnome.org/show_bug.cgi?id=700213
Nicolas Dufresne [Fri, 10 May 2013 02:05:24 +0000 (22:05 -0400)]
shapewipe-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
Nicolas Dufresne [Thu, 9 May 2013 22:32:23 +0000 (18:32 -0400)]
spectrum-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
Nicolas Dufresne [Thu, 9 May 2013 22:25:17 +0000 (18:25 -0400)]
videofilter-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
Nicolas Dufresne [Thu, 9 May 2013 22:23:30 +0000 (18:23 -0400)]
wavpackparse-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
Nicolas Dufresne [Thu, 9 May 2013 22:21:54 +0000 (18:21 -0400)]
y4menc-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
Tim-Philipp Müller [Fri, 10 May 2013 13:00:33 +0000 (14:00 +0100)]
multipartdemux: fix example pipeline
Need jpegparse.
Sebastian Dröge [Fri, 10 May 2013 11:34:16 +0000 (13:34 +0200)]
tests: Fix some more unit tests
Sebastian Dröge [Fri, 10 May 2013 11:10:29 +0000 (13:10 +0200)]
tests: Fix parser tests
Nicolas Dufresne [Fri, 10 May 2013 02:20:28 +0000 (22:20 -0400)]
shapewipe: Can't map twice the same buffer for writing
I took the opportunity to simplify that code a bit. We now use
gst_buffer_make_writable() to make the buffer writable and map twice the
same buffer, with first map being read/write, and second read only. This
get rid of the critical:
GStreamer-CRITICAL **: gst_structure_set_name: assertion `IS_MUTABLE
https://bugzilla.gnome.org/show_bug.cgi?id=700044
Nicolas Dufresne [Fri, 10 May 2013 02:15:54 +0000 (22:15 -0400)]
shapewipe: Ensure caps are writable
The exist one case where that we endup with original caps in ret, in which
case we are not guaratied to have writable caps. Simply ensure this is the
caps are writable before entering the loop.
https://bugzilla.gnome.org/show_bug.cgi?id=700044
Nicolas Dufresne [Fri, 10 May 2013 02:13:51 +0000 (22:13 -0400)]
shapewipe: Fix sample pipeline in documentation
https://bugzilla.gnome.org/show_bug.cgi?id=700044
Nicolas Dufresne [Thu, 9 May 2013 22:05:02 +0000 (18:05 -0400)]
jpegenc-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
Nicolas Dufresne [Thu, 9 May 2013 21:49:03 +0000 (17:49 -0400)]
vp8enc-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
Nicolas Dufresne [Thu, 9 May 2013 21:20:18 +0000 (17:20 -0400)]
vp8dec-test: Send inital events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
Nicolas Dufresne [Thu, 9 May 2013 21:19:53 +0000 (17:19 -0400)]
wavpackdec-test: Send initial events
https://bugzilla.gnome.org/show_bug.cgi?id=700033
Sebastian Dröge [Thu, 9 May 2013 14:26:19 +0000 (16:26 +0200)]
Revert "videomixer2: Take into account new segments"
This reverts commit
84ae670ab40b258a10e1e21471e6dc9d786bf086.
Actually this is not how it is supposed to work. videomixer
creates a [0,-1] segment and then puts frames of the different
streams there based on their running times in their own segments.
Mathieu Duponchelle [Mon, 6 May 2013 21:43:03 +0000 (23:43 +0200)]
videomixer2: Take into account new segments
Also forward the event downstream on the next opportunity.
https://bugzilla.gnome.org/show_bug.cgi?id=699793
Tim-Philipp Müller [Thu, 9 May 2013 08:07:38 +0000 (09:07 +0100)]
Revert "gstrtspsrc: set buffer-size for multicast buffers"
This reverts commit
2481e95d038b42297a016f1d2dc1af26d2175b42.
This is already done five lines above, it was added a year
ago in commit
561b131e.
Nicolas Dufresne [Wed, 8 May 2013 23:54:19 +0000 (19:54 -0400)]
videofilter: Unit test send SEGMENT before CAPS
https://bugzilla.gnome.org/show_bug.cgi?id=699966
Nicolas Dufresne [Wed, 8 May 2013 23:22:31 +0000 (19:22 -0400)]
avimux: Unit test sends SEGMENT before caps
https://bugzilla.gnome.org/show_bug.cgi?id=699966
Nicolas Dufresne [Wed, 8 May 2013 23:08:24 +0000 (19:08 -0400)]
audiowsincband: Test should send segment after CAPS
This makes the unit test pass again.
https://bugzilla.gnome.org/show_bug.cgi?id=699966
Nicolas Dufresne [Wed, 8 May 2013 23:00:28 +0000 (19:00 -0400)]
audiowsinclimit: Test should send segment after CAPS
This makes the unit test pass again.
https://bugzilla.gnome.org/show_bug.cgi?id=699966
Nicolas Dufresne [Wed, 8 May 2013 22:44:32 +0000 (18:44 -0400)]
audiowsinclimit: Frequence property renamed cutoff
Updating the documentation to reflect this change.
See: https://bugzilla.gnome.org/show_bug.cgi?id=699964
Aha Unsworth [Wed, 8 May 2013 18:25:58 +0000 (15:25 -0300)]
gstrtspsrc: set buffer-size for multicast buffers
For receiving video data via RTSP when the video is sent via
multicast there is no way to specify the udpsrc buffer-size.
On windows the native network buffer is not large and with video
i-frames being huge the buffer is to small and you get i-frame corruption,
it looks terrible, and there is no (easy) way to set the udpsrc buffer-size.
https://bugs.freedesktop.org/show_bug.cgi?id=52264
Sebastian Dröge [Wed, 8 May 2013 14:02:05 +0000 (16:02 +0200)]
videomixer2: Send stream-start before caps event
https://bugzilla.gnome.org/show_bug.cgi?id=699895
Thiago Santos [Tue, 7 May 2013 22:15:49 +0000 (19:15 -0300)]
jpegdec: fix compiler warning on type check
Thiago Santos [Thu, 18 Apr 2013 10:49:54 +0000 (07:49 -0300)]
qtdemux: push new caps events when caps change
Whenever the demuxer has a new caps on a stream, it should set the
new_caps variable to true and a new caps event will be pushed before
the next buffer
Thiago Santos [Wed, 17 Apr 2013 19:54:22 +0000 (16:54 -0300)]
qtdemux: do not push discont buffers if they aren't discont
qtdemux takes its buffers from a GstAdapter. Those buffers are created
from the larger buffer that it obtained from upstream and they carry
the same flags, including DISCONT if it is set. In these cases, all
buffers that qtdemux is going to push would be marked as DISCONT.
This scenario can make parsers/decoders flush on every buffer leading
to no decoding at all hapenning. This patch prevents this by unsetting
the flag if it shouldn't be set.
Thiago Santos [Fri, 12 Apr 2013 12:08:16 +0000 (09:08 -0300)]
qtdemux: some code cleanup for mss handling code
* Explicitly init variables for fragmented formats at init
* Do not use GstClockTime type if the variable isn't a timestamp
* Fix a style/readability issue at an if block
* Group 2 mss mode conditional blocks together to improve readability
Conflicts:
gst/isomp4/qtdemux.c
Thiago Santos [Fri, 12 Apr 2013 13:21:11 +0000 (10:21 -0300)]
qtdemux: avoid storing non-time newsegments to push later
This can confuse downstream when they get a byte segment after receiving
the natural time segment from qtdemux that it sends when starting to
push buffers. This is specially the case with parsers that try to
convert the position from byte to time format and might miss the
correct position for playback to start.
Thiago Santos [Wed, 10 Apr 2013 21:02:28 +0000 (18:02 -0300)]
qtdemux: avoid setting fields to non-writable caps
Wim Taymans [Sun, 10 Mar 2013 03:15:06 +0000 (04:15 +0100)]
qtdemux: don't send so many segment events
Only send one segment event in the beginning of the stream, not
after each moov and moof atom.
Conflicts:
gst/isomp4/qtdemux.c
Wim Taymans [Fri, 8 Mar 2013 15:02:26 +0000 (16:02 +0100)]
qtdemux: place incomming timestamps on output
Place the incomming timestamp (if any) directly onto the outgoing buffers
and interpollate other timestamps.
Conflicts:
gst/isomp4/qtdemux.c
Thiago Santos [Tue, 7 May 2013 13:16:18 +0000 (10:16 -0300)]
qtdemux: improve reset of internal status
Reset different variables on state changes to ready and when
handling a flush-stop. For handling flush stops we should check
if there is an upstream adaptive demuxer driving the pipeline as this
means that qtdemux will get a new moov atom. For 'standard' isomedia
streams this isn't true and qtdemux should keep the previous moov
information around.
Conflicts:
gst/isomp4/qtdemux.c
Thiago Santos [Fri, 8 Feb 2013 03:29:20 +0000 (00:29 -0300)]
qtdemux: prepare qtdemux to accept multiple dash moovs in a row
Whenever dashdemux switches bitrates it sends a new moov with the
new stream configuration. qtdemux should now handle this by splitting
the exposing and configuration of streams into separate functions. When
the stream is new it is configured and exposed, when it is a new bitrate
of an existing stream it is only reconfigured.
Conflicts:
gst/isomp4/qtdemux.c
Andre Moreira Magalhaes (andrunko) [Thu, 7 Feb 2013 16:12:53 +0000 (14:12 -0200)]
qtdemux: Move FLUSH_STOP/PAUSED_TO_READY handling to a reset method.
Conflicts:
gst/isomp4/qtdemux.c
Louis-Francis Ratté-Boulianne [Wed, 23 Jan 2013 15:55:33 +0000 (10:55 -0500)]
qtdemux: Remove old pads when exposing streams and other general fixes.
Conflicts:
gst/isomp4/qtdemux.c
Thiago Santos [Tue, 16 Apr 2013 13:41:43 +0000 (10:41 -0300)]
qtdemux: handle mss streams
smoothstreaming streams should be handled as a special kind of
fragmented isomedia. In MSS the fragments will not contain a
'moov' atom with the media descriptions, this has to be extracted
from the caps.
Additionally, there should be another demuxer upstream that is likely
going to be the one to answer/act on queries and events, so qtdemux has
to forward those upstream.
Michael Olbrich [Mon, 6 May 2013 14:54:02 +0000 (16:54 +0200)]
v4l2: request 0 buffers when stopping
Without this stopping the pool in *_set_caps() is useless.
S_FMT will still fail with EBUSY.
https://bugzilla.gnome.org/show_bug.cgi?id=699835
Sebastian Dröge [Tue, 7 May 2013 14:32:03 +0000 (16:32 +0200)]
jpegdec: By default assume that we're working on non-packetized input
Only detecting this in set_format() does not work because we might
not get any caps at all, e.g. from filesrc.
Sebastian Dröge [Tue, 7 May 2013 14:30:59 +0000 (16:30 +0200)]
pngdec: Implement parsing functionality
This allows to plug pngdec directly without a parser if that
is desired.
Parsing code is based on pngparse.
Sebastian Dröge [Tue, 7 May 2013 13:54:24 +0000 (15:54 +0200)]
cacasink: Fix support for RGB formats and add support for more of them
Sebastian Dröge [Sat, 4 May 2013 11:19:53 +0000 (13:19 +0200)]
souphttpsrc: Don't consider the content size from the HTTP headers as absolutely correct
The HTTP server could give wrong information, e.g. if the HTTP stream is
chunk-encoded or compressed, or if the server does not know the complete size
at the time when the file is requested by the client.
Also see
https://bugs.webkit.org/show_bug.cgi?id=115354
Philipp Zabel [Mon, 20 Aug 2012 07:52:32 +0000 (09:52 +0200)]
v4l2: fill out v4l2_buffer.bytesused field for v4l2sink
When queuing a buffer for a sink, bytesused must contain the actual
amount of data.
For a source, the driver must overwrite this, so it doesn't matter
what is set here.
https://bugzilla.gnome.org/show_bug.cgi?id=699598
Sebastian Rasmussen [Fri, 3 May 2013 21:43:26 +0000 (23:43 +0200)]
rtpgstpay: fix invalid memory access in event handler
First process event in payloader, then hand it to the
base class which takes ownership of the event.
https://bugzilla.gnome.org/show_bug.cgi?id=699637
Tim-Philipp Müller [Sat, 4 May 2013 08:48:02 +0000 (09:48 +0100)]
ac3parse, dcaparse: check buffer size before trimming
and unref old buffer as soon as possible.
Andoni Morales Alastruey [Thu, 2 May 2013 13:00:22 +0000 (15:00 +0200)]
dcaparse: add support for "audio/x-private1-dts"
Andoni Morales Alastruey [Thu, 2 May 2013 12:56:02 +0000 (14:56 +0200)]
ac3parse: add support for "audio/x-private1-ac3"
Michael Olbrich [Fri, 3 May 2013 10:46:37 +0000 (12:46 +0200)]
v4l2: always generate video info from caps
In the past gst_video_info_from_caps() only video/x-raw. Now it also
supports other video/* and image/* formats.
With this patch the format won't be GST_VIDEO_FORMAT_UNKOWN and
gst_v4l2_buffer_pool_set_config() handles strides correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=699570
Michael Olbrich [Thu, 2 May 2013 07:41:01 +0000 (09:41 +0200)]
v4l2: try to allocate new buffers with VIDIOC_CREATE_BUFS if needed
If max_buffers is 0 then an arbitrary number of buffers (currently 4) is
allocated. If this is not enough v4l2src starts copying buffers.
With this patch VIDIOC_CREATE_BUFS is used to allocate a new buffer. If
this fails v4l2src falls back to copying buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=699447
Andoni Morales Alastruey [Mon, 15 Apr 2013 15:37:01 +0000 (17:37 +0200)]
osxvideosink: fix setting window handle after transition
The destroyed flag was not reset properly and it's also not needed
as we can check osxwindow != NULL
Andoni Morales Alastruey [Thu, 2 May 2013 11:45:55 +0000 (13:45 +0200)]
rtp: fix duplicated symbols with libvpx
Andoni Morales Alastruey [Mon, 29 Apr 2013 08:58:08 +0000 (10:58 +0200)]
goom2k1: fix duplicated symbols with goom
Sebastian Dröge [Wed, 1 May 2013 13:49:45 +0000 (15:49 +0200)]
rtph264pay: If the adapter is empty on EOS don't try to map its content
https://bugzilla.gnome.org/show_bug.cgi?id=699314
Ognyan Tonchev [Tue, 30 Apr 2013 12:36:38 +0000 (14:36 +0200)]
matroskademux: add stream-format=raw to aac caps
https://bugzilla.gnome.org/show_bug.cgi?id=699303
Michael Olbrich [Tue, 30 Apr 2013 11:07:37 +0000 (13:07 +0200)]
v4l2: fix and cleanup VIDIOC_EXPBUF handling
clear the struct, and provide a correct error message
https://bugzilla.gnome.org/show_bug.cgi?id=699337
Philipp Zabel [Thu, 5 Jul 2012 16:02:27 +0000 (18:02 +0200)]
v4l2: handle return value -ENOTTY for unimplemented VIDIOC_G_PARM
Newer kernels return -ENOTTY, older kernels return -EINVAL if the ioctl
is not implemented. With this patch, GStreamer handles both cases.
https://bugzilla.gnome.org/show_bug.cgi?id=698825
Michael Olbrich [Tue, 30 Apr 2013 07:16:07 +0000 (09:16 +0200)]
v4l2: fix broken boolean expression to detect non-frame buffers
https://bugzilla.gnome.org/show_bug.cgi?id=699294
Arun Raghavan [Mon, 29 Apr 2013 05:37:56 +0000 (11:07 +0530)]
pulsesink: Better error message when server version is too old
We check for the library version at configure time, but the server
version can only really be checked at run-time.
https://bugzilla.gnome.org/show_bug.cgi?id=698768
Tim-Philipp Müller [Sat, 27 Apr 2013 10:24:38 +0000 (11:24 +0100)]
udp: log WARNING debug message if UDP multicast is likely to be broken
Tim-Philipp Müller [Sat, 27 Apr 2013 10:16:54 +0000 (11:16 +0100)]
udpsrc: add includes to get socklen_t defined on Windows
https://bugzilla.gnome.org/show_bug.cgi?id=692400
Yury Delendik [Sat, 27 Apr 2013 08:39:45 +0000 (09:39 +0100)]
qtdemux: add support for VP6F VP6 flash codec
https://bugzilla.gnome.org/show_bug.cgi?id=699010
Michael Olbrich [Wed, 5 Sep 2012 14:39:31 +0000 (16:39 +0200)]
v4l2: also poll for output devices
Note that the V4L2 API defines that for output devices POLLOUT
indicates that a buffer is ready to be dequeued.
https://bugzilla.gnome.org/show_bug.cgi?id=698992
Philipp Zabel [Mon, 20 Aug 2012 07:52:34 +0000 (09:52 +0200)]
v4l2: fix copying of encoded buffers
The existence of a GstVideoFormatInfo does not guarantee, that
the buffer contains video frames, so the format must be checked.
Also, for encoded buffers the length is variable and must be set.
https://bugzilla.gnome.org/show_bug.cgi?id=698949
Michael Olbrich [Tue, 10 Jul 2012 13:29:40 +0000 (15:29 +0200)]
v4l2: add support for mpeg4 and H.263
https://bugzilla.gnome.org/show_bug.cgi?id=698826
Edward Hervey [Fri, 26 Apr 2013 10:16:49 +0000 (12:16 +0200)]
monoscope: Fix debug statement
Alexander Schrab [Thu, 25 Apr 2013 19:50:33 +0000 (21:50 +0200)]
mulawdec: change base class to GstAudioDecoder
https://bugzilla.gnome.org/show_bug.cgi?id=698894
Mathieu Duponchelle [Thu, 25 Apr 2013 18:59:52 +0000 (20:59 +0200)]
videomixer: send stream-start event.
Philipp Zabel [Thu, 18 Oct 2012 08:37:35 +0000 (10:37 +0200)]
v4l2: handle ENODATA return value for VIDIOC_ENUMSTD
In kernel v3.7-rc1, VIDIOC_ENUMSTD returns ENODATA if the current input
does not support the STD API.
https://bugzilla.gnome.org/show_bug.cgi?id=698827
Wim Taymans [Thu, 25 Apr 2013 11:19:35 +0000 (13:19 +0200)]
docs: add some pay/depayloaders
See https://bugzilla.gnome.org/show_bug.cgi?id=551631
Sebastian Dröge [Thu, 25 Apr 2013 10:44:15 +0000 (12:44 +0200)]
mulaw: Some minor memleak fixes and cleanup
Alexander Schrab [Wed, 24 Apr 2013 11:56:56 +0000 (13:56 +0200)]
mulawenc: change to gstaudioencoder base, added bitrate tags
Michael Olbrich [Thu, 3 May 2012 14:07:27 +0000 (16:07 +0200)]
v4l2: bufferpool: reset buffer size in release_buffer
The buffer might still be in use elsewhere when dequeuing buffers for
outputs.
https://bugzilla.gnome.org/show_bug.cgi?id=698822
Michael Olbrich [Fri, 20 Apr 2012 07:53:35 +0000 (09:53 +0200)]
v4l2: bufferpool: remove unused includes
The hacks that needed these are long gone.
https://bugzilla.gnome.org/show_bug.cgi?id=698821
Sebastian Dröge [Thu, 25 Apr 2013 10:12:23 +0000 (12:12 +0200)]
(multi)udpsink: Use separate sockets for IPv4 and IPv6
https://bugzilla.gnome.org/show_bug.cgi?id=534243
Sebastian Dröge [Thu, 25 Apr 2013 08:44:44 +0000 (10:44 +0200)]
dynudpsink: Use separate sockets for IPv4 and IPv6
https://bugzilla.gnome.org/show_bug.cgi?id=534243