Commit graph

5883 commits

Author SHA1 Message Date
Wim Taymans 846f309522 update for memory api changes 2012-03-20 10:24:05 +01:00
Mark Nauwelaerts 440d7034f0 flacparse: perform additional frame crc check if applicable
... such as a frame header parsing throwing some suspicious warnings.
So we can be a bit more convinced we determine the right frame end.
2012-03-19 12:02:47 +01:00
Mark Nauwelaerts 58816039c2 flacparse: avoid indefinite extended search for frame end if possible
... which is particularly useful if locked on to the wrong frame start
and/or corrupt frame being crc checked.
2012-03-19 12:02:45 +01:00
Wim Taymans b8869d285b qtdemux: negotiate an allocator on the srcpads
We do an ALLOCATION query to find out an allocator and parameters on the
srcpads. This way decoders (and sinks) can specify the memory and parameters
they want us to write into.
2012-03-19 10:33:48 +01:00
Wim Taymans 8f36d4c7a4 don't poke into basetransform internals
But use the methods
2012-03-16 22:52:02 +01:00
Wim Taymans 513d480fbf don't pass random pointers to pull_range 2012-03-16 21:47:21 +01:00
Wim Taymans 1398305390 updarte for bufferpool changes 2012-03-15 22:15:47 +01: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
Olivier Crête 053f33adc8 rtph264depay: Make output in AVC stream format work even without complete sprop-parameter-set
This allows outputting streams in AVC format even if the SPS/PPS are sent inside
the RTP stream.

https://bugzilla.gnome.org/show_bug.cgi?id=654850
2012-03-15 14:20:22 -04: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
Mark Nauwelaerts 98c681fe5b imagefreeze: port to 0.11 2012-03-14 17:08:36 +01:00
Wim Taymans 7f3a00decd jitterbuffer: reply FALSe on serialized queries 2012-03-14 15:45:38 +01:00
Wim Taymans 734f11e4d3 mp4vpay: we can also handle x-divx 2012-03-14 11:26:35 +01:00
Wim Taymans fba47d17e8 mp4vdepay: fix buffer handling
Don't always output the payload subbuffer, use a separate variable to
make things clearer and without the error.
2012-03-13 21:31:48 +01:00
Wim Taymans 84c96e2393 udpsink: make buffer-size work again 2012-03-13 20:49:43 +01:00
Wim Taymans d4a10f2909 udpsrc: fix SO_RCVBUF handling 2012-03-13 20:36:56 +01:00
Wim Taymans af59f573b5 rtpsession: don't leak the address 2012-03-13 19:26:47 +01:00
Wim Taymans 745210e792 h264depay: unmap on empty packet 2012-03-13 19:26:23 +01:00
Wim Taymans d65de434f5 rtph264pay: do DTS and PTS correctly 2012-03-13 18:07:18 +01:00
Wim Taymans 0525fa1850 qtdemux: set DTS and PTS on output buffers
Set PTS and DTS on output buffers instead of just the PTS. In streaming cases
you want to synchronized encoded data based on the DTS because that is
monotonically increasing.
2012-03-13 17:54:50 +01:00
Wim Taymans e179a7edbe qtdemux: debug additional sdtp flag 2012-03-13 17:54:28 +01:00
Wim Taymans e4fed38f49 rtp: fix unmap calls 2012-03-13 17:27:32 +01:00
Wim Taymans e8ba1ef94c update for caps api changes 2012-03-12 17:17:01 +01:00
Vincent Penquerc'h ee1be9236f matroskademux: only unlock pad when it was locked
This fixes the mutex being unlocked too much and ending up allowing
other threads when they should not.

https://bugzilla.gnome.org/show_bug.cgi?id=671776
2012-03-12 15:20:33 +01:00
Marc Leeman b4756db358 gstrtspsrc: disable RTSP keep-alive on request 2012-03-12 15:14:21 +01:00
Wim Taymans 15d1d40662 smpte: fix stride handling 2012-03-12 14:48:47 +01:00
Wim Taymans eb03b4de55 fix for caps api change 2012-03-12 11:47:35 +01:00
Wim Taymans 80dca40c35 fix for _do_simplify changes 2012-03-12 10:43:57 +01:00
Nicola Murino 3f4e4edaa2 gst: Fix some query leaks 2012-03-12 09:10:20 +01:00
Wim Taymans a32d944a38 fix for caps api changes 2012-03-11 19:06:37 +01:00
Wim Taymans 756948262c fix template caps refcount 2012-03-10 10:52:01 +01:00
Matej Knopp 0ee34c293f qtmux: do not unref sample caps
https://bugzilla.gnome.org/show_bug.cgi?id=671534
2012-03-08 11:02:00 +00:00
Wim Taymans b5f1969406 rtpbin: improve cleanup
Reuse cleanup methods to make sure we remove all pads correctly
2012-03-07 15:22:36 +01:00
Wim Taymans 9942d3566e rtpsession: set caps without the lock
Release the lock before setting the caps on the srcpad, which triggers an event,
which could eventually call back into us and cause a deadlock.
2012-03-07 15:02:44 +01:00
Wim Taymans 5cce960baa ptdemux: set caps after activating the pad
Set the caps after we activated the pad or else it will just fail.
2012-03-07 15:02:44 +01:00
Wim Taymans cdf927ab52 law: add layout to audio caps 2012-03-07 15:02:44 +01:00
Wim Taymans b55d5e23ee law: use GstAudioInfo
Use GstAudioInfo to generate output caps.
2012-03-07 15:02:44 +01:00
Matej Knopp 688e820573 qtdemux: covert art tag type is GstSample not GstBuffer now
https://bugzilla.gnome.org/show_bug.cgi?id=671534
2012-03-07 10:42:14 +00:00
David Schleef cb0d04a2db udp: Change the default port to 5004
udpsrc/udpsink are almost always used with RTP, so let's use an
RTP port as the default port.  It's unclear why 4951 was used, it
goes back to early commits in CVS.
2012-03-06 21:44:36 -08:00
David Schleef 7831feced5 Merge branch '0.11' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-good into 0.11 2012-03-06 21:36:02 -08:00
Sebastian Dröge f2e569cde8 rtspsrc: Use correct enum for return values 2012-03-06 14:18:33 +01:00
Sebastian Dröge 78079635a6 dvdepay: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning
This was an actual bug as it could've caused reading from
invalid memory areas when the input is broken.
2012-03-06 14:16:21 +01:00
Sebastian Dröge dad2a52f62 deinterlace: Fix 'variable 'oldbx' is uninitialized when used here' compiler warnings 2012-03-06 13:21:12 +01:00
Sebastian Dröge 4d55588e35 deinterlace: Fix 'implicit conversion from enumeration type 'GstDeinterlaceFields' to different enumeration type 'GstDeinterlaceMode'' compiler warning 2012-03-06 13:19:24 +01:00
Mark Nauwelaerts 690884bc57 audioparsers: port wavpackparse to 0.11 2012-03-05 13:33:34 +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
Stefan Sauer a4ed5daae6 wavpackparse: initialize header to silence older gcc versions 2012-03-05 10:51:33 +01:00
Antoine Tremblay 073a03ef5c avimux: support up to 6 channels of AC-3
https://bugzilla.gnome.org/show_bug.cgi?id=671220
2012-03-03 18:20:30 +00:00
Sebastian Dröge 78bb66902b gst: Update for the gstmarshal.[ch] removal 2012-03-02 11:17:33 +01:00
Sebastian Dröge 3299f39179 mixer/colorbalance: Update for API changes 2012-03-02 10:13:08 +01:00
Mark Nauwelaerts 3b846d7c7d audioparsers: disable non-ported wavpackparse 2012-03-01 11:36:34 +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
Mark Nauwelaerts 50cd7c9ac6 audioparsers: add baseparse based wavpackparse 2012-02-28 13:51:45 +01:00
Edward Hervey 9beda57c3a Suppress deprecation warnings in selected files, for g_value_array_* mostly 2012-02-27 14:47:25 +01:00
Tim-Philipp Müller cc0511f5d8 flvmux, matroskamux, qtmux: if in doubt about downstream seekability default to streaming=true
If downstream didn't answer our SEEKING query and told us
it's seekable, default to streaming=true. We couldn't do
this in 0.10 for backwards compatibility reasons, but we
can in 0.11. Play it safe.
2012-02-27 01:12:09 +00:00
Tim-Philipp Müller f49410d698 Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	gst/audioparsers/gstmpegaudioparse.c
2012-02-27 01:00:03 +00:00
Tim-Philipp Müller 4ba15ca5d2 mpegaudioparse: fix up after merge 2012-02-27 00:55:38 +00:00
Tim-Philipp Müller 61d3a215a0 Merge commit '38516ad367128d83f9e156529018adb4433cd328' into 0.11
Conflicts:
	ext/pulse/pulseaudiosink.c
	gst/audioparsers/gstmpegaudioparse.c
2012-02-27 00:48:57 +00:00
Alessandro Decina 583342271f goom2k1: fix compiler warning 2012-02-26 20:39:52 +01:00
Alessandro Decina 6e96f4c201 mpegaudioparse: fix compiler warning 2012-02-26 20:30:24 +01:00
Tim-Philipp Müller 676b371bdb qtmux: create streamable output if downstream is not seekable
Ignore the "streamable" property setting and create streamable
output if downstream is known not to be seekable (as queried
via a SEEKABLE query).

Fixes pipelines like qtmux ! appsink possibly creating seemingly
corrupted output if streamable has not been set to true.
2012-02-25 15:57:02 +00:00
Tim-Philipp Müller 6b0dd47586 flvmux: create streamable output if downstream is not seekable
Ignore the "streamable" property setting and create streamable
output if downstream is known not to be seekable (as queried
via a SEEKABLE query).

Fixes pipelines like flvmux ! appsink possibly creating seemingly
corrupted output if streamable has not been set to true.
2012-02-25 15:56:51 +00:00
Tim-Philipp Müller f4afccff5c matroskamux: create streamable output if downstream is not seekable
Ignore the "streamable" property setting and create streamable
output if downstream is known not to be seekable (as queried
via a SEEKABLE query).

Fixes pipelines like webmmux ! appsink creating seemingly
corrupted output if streamable has not been set to true.
2012-02-25 15:56:30 +00:00
Wim Taymans 44828add73 update for basetransform change 2012-02-24 11:03:48 +01:00
David Schleef c6dafad169 efence: remove plugin
Valgrind is much more useful these days.
2012-02-23 08:42:25 -08:00
Wim Taymans 3c292543bc audiofx: remove transform lock usage 2012-02-23 12:03:24 +01:00
Wim Taymans 7749cd3f7b update for basetransform lock removal 2012-02-23 11:20:02 +01:00
Tim-Philipp Müller c762e945be debugutils: disable efence plugin properly
We don't want it built if mmap isn't available either..
2012-02-22 23:36:54 +00:00
Wim Taymans ca9532ccc5 update for new memory api 2012-02-22 02:10:33 +01:00
Mark Nauwelaerts 0d5b5d839a mpegaudioparse: support parsing freeform bitrate stream 2012-02-21 18:43:02 +01:00
Mark Nauwelaerts 8530c0f620 monoscope: port to 0.11 2012-02-21 18:39:18 +01:00
Olivier Crête 18899cf94d rtph264pay: Force baseline is profile-level-id is unspecified 2012-02-21 10:51:43 +01:00
Olivier Crête 1fe69911a4 rtph264pay: Force baseline is profile-level-id is unspecified 2012-02-20 14:30:55 -05:00
Wim Taymans 41406037ac fix compiler warnings 2012-02-20 16:35:47 +01:00
Matej Knopp d7695bb67d fix compiler warnings 2012-02-20 16:32:34 +01:00
Peteris Krisjanis d44b3fd8ec level: use GValueArray instead of GstValueList in messages
Updated GstLevel element to use GValueArray instead of
GstValueList for rms/peak/decay keys attached to element
message.

https://bugzilla.gnome.org/show_bug.cgi?id=670303
2012-02-18 11:37:41 +00:00
Wim Taymans 82a43ad1ab Merge branch 'master' into 0.11
Conflicts:
	gst/equalizer/gstiirequalizer.c
2012-02-17 23:49:21 +01:00
Tim-Philipp Müller f76f7374ea equalizer: fix switching from passthrough to non-passthrough when parameters change
commit b5bf0294 moved the if(need_new_coefficients) set_passthrough(equ)
after the if(is_passthrough) return FLOW_OK shortcut, so the passthrough
mode would never get updated even if the coefficients change.

Fixes equalizer-test doing .. nothing.
2012-02-17 18:35:54 +00:00
Mark Nauwelaerts fdfe4ed445 goom*: fix leaked caps event 2012-02-17 17:57:03 +01:00
Mark Nauwelaerts 5cb42081a5 mpegaudioparse: parse either Xing or VBRI data
... and avoid confusing debug message claiming neither present.
2012-02-17 17:34:53 +01:00
Wim Taymans e71c7dc8f9 matrosk: fix segment update 2012-02-17 14:38:03 +01:00
Mark Nauwelaerts 3ce9836a59 goom: fix buffer leak 2012-02-16 23:46:45 +01:00
Mark Nauwelaerts abc30b7e46 goom2k1: use some more boilerplate 2012-02-16 23:46:45 +01:00
Mark Nauwelaerts 858468b9b1 goom2k1: port to 0.11 2012-02-16 23:35:11 +01:00
Philippe Normand 4945af5eff interleave: port to 0.11
Port of the interleave element and its unittests.

https://bugzilla.gnome.org/show_bug.cgi?id=669643
2012-02-16 14:40:59 +00:00
Tim-Philipp Müller 979431c034 rtpjitterbuffer: declare variables at the beginning of the block
It's how we roll. Fixes 'ISO C90 forbids mixed declarations and code'
compiler warning.
2012-02-16 11:21:28 +00:00
Wim Taymans 6b2998d5b7 aacparse: remove some unused declarations 2012-02-15 12:41:43 +01:00
Wim Taymans 4f4f9c9c68 aspectratiocrop: fix caps refcount 2012-02-14 12:26:37 +01:00
Mark Nauwelaerts 1ae32656ae audioparsers: adjust to modified baseparse API 2012-02-13 18:27:53 +01:00
Wim Taymans e3b5a2e40d update for memory api change 2012-02-13 18:13:19 +01:00
Wim Taymans 225e98d623 Merge branch 'master' into 0.11
Conflicts:
	ext/flac/gstflacenc.c
	ext/jack/gstjackaudioclient.c
	ext/jack/gstjackaudiosink.c
	ext/jack/gstjackaudiosrc.c
	ext/pulse/plugin.c
	ext/shout2/gstshout2.c
	gst/matroska/matroska-mux.c
	gst/rtp/gstrtph264pay.c
2012-02-10 16:23:14 +01:00
Tim-Philipp Müller 5b25f3737b rtph264pay: add stream-format and alignment to h264 sink caps
We're happy to accept both byte-stream and avc, advertise
that on the sink caps and fix up _get_caps() function to
not just return "video/x-h264".

https://bugzilla.gnome.org/show_bug.cgi?id=606662
2012-02-10 14:08:55 +00:00
Tim-Philipp Müller 6872b40873 rtph264depay: add stream-format and alignment fields to src template caps
Because we can. And so we get a warning if we try to output avc with
nal alignment or somesuch.

https://bugzilla.gnome.org/show_bug.cgi?id=606662
2012-02-10 14:08:55 +00:00
Wim Taymans 8eca20ead0 flv: use default pad query
We need to chain up unknown queries to the default query handler instead of
blindly forwarding them. In this case it caused the caps query to be forwarded
to the upstream typefind and return the wrong type for the audio/video pad.
2012-02-10 10:07:34 +01:00
Mark Nauwelaerts 207f520bbd aacparse: correctly set ADIF src caps 2012-02-09 22:10:11 +01:00
Mark Nauwelaerts ee2e07d50d ac3parse: prevent a few direct exits without cleanup 2012-02-09 22:10:07 +01:00
Marc Leeman dc54c83fd3 multiudpsink: typo fix (bytes send -> bytes sent) 2012-02-09 10:26:42 +01:00
Wim Taymans 9365f12d6e GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING 2012-02-08 16:43:30 +01:00