platform/upstream/gstreamer.git
11 years agod3dvideosink: Remove non-sense display PAR handling
Sebastian Dröge [Sat, 22 Dec 2012 15:26:52 +0000 (16:26 +0100)]
d3dvideosink: Remove non-sense display PAR handling

This has to be implemented properly at some point

11 years agod3dvideosink: Fix caps leak
Sebastian Dröge [Sat, 22 Dec 2012 15:18:14 +0000 (16:18 +0100)]
d3dvideosink: Fix caps leak

11 years agod3dvideosink: Fix duplicated format entry in the template caps
Sebastian Dröge [Sat, 22 Dec 2012 11:09:30 +0000 (12:09 +0100)]
d3dvideosink: Fix duplicated format entry in the template caps

11 years agod3dvideosink: Fix linking
Sebastian Dröge [Sat, 22 Dec 2012 11:05:14 +0000 (12:05 +0100)]
d3dvideosink: Fix linking

11 years agod3dvideosink: Fix some more compiler warnings
Sebastian Dröge [Sat, 22 Dec 2012 10:58:21 +0000 (11:58 +0100)]
d3dvideosink: Fix some more compiler warnings

11 years agod3dvideosink: Port remaining bits to new GLib threading API
Sebastian Dröge [Sat, 22 Dec 2012 10:50:08 +0000 (11:50 +0100)]
d3dvideosink: Port remaining bits to new GLib threading API

11 years agod3dvideosink: And remove the right declaration
Sebastian Dröge [Sat, 22 Dec 2012 10:45:27 +0000 (11:45 +0100)]
d3dvideosink: And remove the right declaration

11 years agod3dvideosink: Remove unused static declaration
Sebastian Dröge [Sat, 22 Dec 2012 10:44:32 +0000 (11:44 +0100)]
d3dvideosink: Remove unused static declaration

11 years agod3dvideosink: Remove unused variables
Sebastian Dröge [Sat, 22 Dec 2012 10:43:21 +0000 (11:43 +0100)]
d3dvideosink: Remove unused variables

11 years agod3dvideosink: Update to new GLib threading API
Sebastian Dröge [Sat, 22 Dec 2012 10:42:52 +0000 (11:42 +0100)]
d3dvideosink: Update to new GLib threading API

11 years agod3dvideosink: Rename keep_aspect_ratio to force_aspect_ratio in the header too
Sebastian Dröge [Sat, 22 Dec 2012 10:38:28 +0000 (11:38 +0100)]
d3dvideosink: Rename keep_aspect_ratio to force_aspect_ratio in the header too

11 years agod3dvideosink: Use G_PARAM_STATIC_STRINGS
Sebastian Dröge [Sat, 22 Dec 2012 10:35:55 +0000 (11:35 +0100)]
d3dvideosink: Use G_PARAM_STATIC_STRINGS

11 years agod3dvideosink: Rename keep-aspect-ratio to force-aspect-ratio and default to TRUE
Sebastian Dröge [Sat, 22 Dec 2012 10:34:43 +0000 (11:34 +0100)]
d3dvideosink: Rename keep-aspect-ratio to force-aspect-ratio and default to TRUE

For consistency with other video sinks.

11 years agod3dvideosink: Add files that had to be included in the last commit
Sebastian Dröge [Sat, 22 Dec 2012 10:30:08 +0000 (11:30 +0100)]
d3dvideosink: Add files that had to be included in the last commit

11 years agod3dvideosink: Add $(GST_PLUGINS_BASE_CFLAGS) to CFLAGS
Sebastian Dröge [Sat, 22 Dec 2012 10:28:19 +0000 (11:28 +0100)]
d3dvideosink: Add $(GST_PLUGINS_BASE_CFLAGS) to CFLAGS

11 years agod3dvideosink: Various improvements
Roland Krikava [Sat, 22 Dec 2012 10:24:28 +0000 (11:24 +0100)]
d3dvideosink: Various improvements

* XOverlay set_render_rectangle support (Useful for rendering in QT QML)
* Video format negotiation (with preference ordering)
* Using Direct3D9 (No benefit to using newer D3D versions)

11 years agod3dvideosink: Only include formats that are actually working
Sebastian Dröge [Fri, 21 Dec 2012 15:11:10 +0000 (16:11 +0100)]
d3dvideosink: Only include formats that are actually working

11 years agod3dvideosink: Add the actually supported color formats to the template caps
Sebastian Dröge [Fri, 21 Dec 2012 14:23:42 +0000 (15:23 +0100)]
d3dvideosink: Add the actually supported color formats to the template caps

11 years agoopenjpegenc/-dec: print openjpeg logs for debug tracing
Sebastian Rasmussen [Tue, 18 Dec 2012 21:23:42 +0000 (22:23 +0100)]
openjpegenc/-dec: print openjpeg logs for debug tracing

11 years agoopus: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 15:56:28 +0000 (16:56 +0100)]
opus: use appropriate printf format for gsize

11 years agovideoparsers: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 15:52:26 +0000 (16:52 +0100)]
videoparsers: use appropriate printf format for gsize

11 years agomxf: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 15:50:37 +0000 (16:50 +0100)]
mxf: use appropriate printf format for gsize

11 years agojpeg: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 15:40:59 +0000 (16:40 +0100)]
jpeg: use appropriate printf format for gsize

11 years agointer: use appropriate printf format for gsize
Thijs Vermeir [Tue, 18 Dec 2012 15:20:08 +0000 (16:20 +0100)]
inter: use appropriate printf format for gsize

11 years agoopenjpegenc: Add some properties
Sebastian Dröge [Tue, 18 Dec 2012 14:44:56 +0000 (15:44 +0100)]
openjpegenc: Add some properties

11 years agoopenjpegdec: Don't crash if colorspace is not provided on the caps
Sebastian Dröge [Tue, 18 Dec 2012 14:43:37 +0000 (15:43 +0100)]
openjpegdec: Don't crash if colorspace is not provided on the caps

g_str_equal() is *not* NULL-safe

11 years agoopenjpegdec: Improve robustness against formats with different settings per component
Sebastian Dröge [Mon, 17 Dec 2012 16:19:54 +0000 (17:19 +0100)]
openjpegdec: Improve robustness against formats with different settings per component

11 years agoopenjpegdec: Properties won't be needed in the decoder
Sebastian Dröge [Mon, 17 Dec 2012 16:13:22 +0000 (17:13 +0100)]
openjpegdec: Properties won't be needed in the decoder

11 years agoopenjpegenc: Fix data pointer incrementing
Sebastian Dröge [Mon, 17 Dec 2012 16:11:50 +0000 (17:11 +0100)]
openjpegenc: Fix data pointer incrementing

11 years agoopenjpegenc: Optimize image filling functions a bit
Sebastian Dröge [Mon, 17 Dec 2012 16:06:29 +0000 (17:06 +0100)]
openjpegenc: Optimize image filling functions a bit

11 years agoopenjpegdec: Add missing shifts
Sebastian Dröge [Mon, 17 Dec 2012 16:02:47 +0000 (17:02 +0100)]
openjpegdec: Add missing shifts

11 years agoopenjpegdec: Optimize frame filling functions a bit
Sebastian Dröge [Mon, 17 Dec 2012 15:57:14 +0000 (16:57 +0100)]
openjpegdec: Optimize frame filling functions a bit

11 years agovideoparsers: Make sure the caps are actually writable before changing them
Sebastian Dröge [Mon, 17 Dec 2012 14:16:48 +0000 (15:16 +0100)]
videoparsers: Make sure the caps are actually writable before changing them

11 years agovideoparsers: Use the peer caps for restrictions instead of the srcpad allowed caps
Sebastian Dröge [Mon, 17 Dec 2012 14:04:44 +0000 (15:04 +0100)]
videoparsers: Use the peer caps for restrictions instead of the srcpad allowed caps

Otherwise we will intersect with the srcpad template caps and add all the caps fields
that the parser will ever set, no matter if downstream restricts this field or not.
This requires upstream to set this field on the caps to successfully negotiate.

https://bugzilla.gnome.org/show_bug.cgi?id=690184

11 years agoopenjpeg: Correct template caps a bit
Sebastian Dröge [Sun, 16 Dec 2012 19:05:46 +0000 (20:05 +0100)]
openjpeg: Correct template caps a bit

11 years agoopenjpeg: Handle the num-components field in the caps
Sebastian Dröge [Sun, 16 Dec 2012 19:02:27 +0000 (20:02 +0100)]
openjpeg: Handle the num-components field in the caps

11 years agoopenjpeg: Add support for the colorspace field in the caps
Sebastian Dröge [Sat, 15 Dec 2012 10:25:36 +0000 (11:25 +0100)]
openjpeg: Add support for the colorspace field in the caps

11 years agoopenjpeg: Add JPEG2000 encoder element
Sebastian Dröge [Fri, 14 Dec 2012 20:08:27 +0000 (20:08 +0000)]
openjpeg: Add JPEG2000 encoder element

11 years agoopenjpeg: Add OpenJPEG based JPEG2000 decoder
Sebastian Dröge [Fri, 14 Dec 2012 14:38:45 +0000 (14:38 +0000)]
openjpeg: Add OpenJPEG based JPEG2000 decoder

11 years agobuild: add removed rtpmux bits to cruft check
Tim-Philipp Müller [Sun, 16 Dec 2012 17:44:57 +0000 (17:44 +0000)]
build: add removed rtpmux bits to cruft check

11 years agortpmux: remove rtpmux plugin, moved to -good
Tim-Philipp Müller [Sun, 16 Dec 2012 17:35:07 +0000 (17:35 +0000)]
rtpmux: remove rtpmux plugin, moved to -good

Move rtpmux and rtpdtmfmux into rtpmanager plugin in -good.

https://bugzilla.gnome.org/show_bug.cgi?id=629117

11 years agoscaletempo: remove scaletempo plugin, moved to -good
Tim-Philipp Müller [Fri, 14 Dec 2012 14:51:19 +0000 (14:51 +0000)]
scaletempo: remove scaletempo plugin, moved to -good

https://bugzilla.gnome.org/show_bug.cgi?id=687262

11 years agoautoconvert: don't use deprecated threading API
Tim-Philipp Müller [Fri, 14 Dec 2012 18:09:06 +0000 (18:09 +0000)]
autoconvert: don't use deprecated threading API

11 years agoh264parse: use upstream width/height when given
Wim Taymans [Thu, 13 Dec 2012 13:12:52 +0000 (14:12 +0100)]
h264parse: use upstream width/height when given

The upstream width and height should override the dimension detected in the
file.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683142

11 years agompeg4videoparse: export number of sprite warping points in caps
Arnaud Vrac [Thu, 13 Dec 2012 10:47:57 +0000 (11:47 +0100)]
mpeg4videoparse: export number of sprite warping points in caps

This allows filtering out videos for hardware decoders that do not
support GMC at all or only support a limited number of sprite warping
points (usually 1).

11 years agompeg4videoparse: handle divx caps
Arnaud Vrac [Thu, 13 Dec 2012 10:43:09 +0000 (11:43 +0100)]
mpeg4videoparse: handle divx caps

DivX 4/5 are MPEG4 part 2 videos, so they can be parsed by this plugin.

11 years agodirectsound: fix compilation errors caused by circular includes
Руслан Ижбулатов [Wed, 12 Dec 2012 21:57:21 +0000 (01:57 +0400)]
directsound: fix compilation errors caused by circular includes

https://bugzilla.gnome.org/show_bug.cgi?id=690128

11 years agomxfdemux: printf format fixes for debug messages
Tim-Philipp Müller [Wed, 12 Dec 2012 18:50:09 +0000 (18:50 +0000)]
mxfdemux: printf format fixes for debug messages

11 years agohls: minor Makefile clean-up
Tim-Philipp Müller [Wed, 12 Dec 2012 00:40:20 +0000 (00:40 +0000)]
hls: minor Makefile clean-up

Remove superfluous SOUP_CFLAGS and SOUP_LIBS.

11 years agohls: link to the right gst-plugins-base libs and fix libs order
Michael Esemplare [Tue, 11 Dec 2012 21:09:02 +0000 (21:09 +0000)]
hls: link to the right gst-plugins-base libs and fix libs order

https://bugzilla.gnome.org/show_bug.cgi?id=690030

11 years agod3dvideosink: fix compiler and linker flags
Michael Esemplare [Tue, 11 Dec 2012 20:58:42 +0000 (20:58 +0000)]
d3dvideosink: fix compiler and linker flags

https://bugzilla.gnome.org/show_bug.cgi?id=690031

11 years agoconfigure: Use AC_LANG_PROGRAM to make autoconf happy
Sebastian Dröge [Tue, 11 Dec 2012 15:00:15 +0000 (15:00 +0000)]
configure: Use AC_LANG_PROGRAM to make autoconf happy

11 years agowinscreencap: Fix configure check and compilation
Sebastian Dröge [Tue, 11 Dec 2012 14:19:41 +0000 (14:19 +0000)]
winscreencap: Fix configure check and compilation

11 years agomms: Fix format string for off_t/goffset
Sebastian Dröge [Tue, 11 Dec 2012 10:58:54 +0000 (10:58 +0000)]
mms: Fix format string for off_t/goffset

Fixes bug #690033.

11 years agomxfdemux: Don't allow any wrapping other than frame wrapping
Sebastian Dröge [Thu, 6 Dec 2012 09:06:02 +0000 (10:06 +0100)]
mxfdemux: Don't allow any wrapping other than frame wrapping

Bad things will happen otherwise, like reading a complete,
multiple GB large video track into a single buffer.

Conflicts:
gst/mxf/mxfdemux.c

11 years agomxfdemux: Add function to get the essence track wrapping
Sebastian Dröge [Wed, 5 Dec 2012 14:27:02 +0000 (15:27 +0100)]
mxfdemux: Add function to get the essence track wrapping

11 years agomxf: Add support for parsing filler structural components
Sebastian Dröge [Wed, 5 Dec 2012 11:23:29 +0000 (12:23 +0100)]
mxf: Add support for parsing filler structural components

This does not add support for actually producing filler data
if there's a filler component in a timeline.

11 years agomxf: Improve debug output during metadata resolval
Sebastian Dröge [Wed, 5 Dec 2012 11:08:25 +0000 (12:08 +0100)]
mxf: Improve debug output during metadata resolval

11 years agortmpsrc: disable seeking if the configured url specifies live=true
Alessandro Decina [Sat, 1 Dec 2012 16:05:38 +0000 (17:05 +0100)]
rtmpsrc: disable seeking if the configured url specifies live=true

Disable seeking when live=true is set in the location URL (eg:
"rtmp://example.net/stream live=true")

11 years agoresindvd, frei0r: link to libgmodule-2.0 in plugins that use g_module_* API
Tim-Philipp Müller [Fri, 30 Nov 2012 20:01:16 +0000 (20:01 +0000)]
resindvd, frei0r: link to libgmodule-2.0 in plugins that use g_module_* API

Probably needed for other plugins as well.

11 years agoconfigure: sprinkle some AC_LANG_PROGRAM in wasapi check
Tim-Philipp Müller [Fri, 30 Nov 2012 19:54:11 +0000 (19:54 +0000)]
configure: sprinkle some AC_LANG_PROGRAM in wasapi check

So autogen.sh stops moaning.

11 years agomxf: Add more support for RP2008 (AVC in the MPEG mapping)
Sebastian Dröge [Fri, 30 Nov 2012 14:10:43 +0000 (15:10 +0100)]
mxf: Add more support for RP2008 (AVC in the MPEG mapping)

Conflicts:
gst/mxf/mxfmpeg.c

11 years agowasapi: make the build happy without the static plugins patch
Sebastian Dröge [Fri, 30 Nov 2012 10:44:51 +0000 (11:44 +0100)]
wasapi: make the build happy without the static plugins patch

11 years agoconfigure: Add wasapi to the unported plugins
Sebastian Dröge [Fri, 30 Nov 2012 10:40:47 +0000 (11:40 +0100)]
configure: Add wasapi to the unported plugins

11 years agowasapi: Integrate into the autotools build system
Sebastian Dröge [Fri, 30 Nov 2012 10:37:37 +0000 (11:37 +0100)]
wasapi: Integrate into the autotools build system

Patch based on a patch by Fabrizio Ciavatta <fabrizio.ciavatta@gmail.com>

11 years agoshm: Fix configure check and clean up Makefile
Sebastian Dröge [Wed, 28 Nov 2012 12:10:47 +0000 (13:10 +0100)]
shm: Fix configure check and clean up Makefile

11 years agoshm: Fix compilation of shm on OSX
Emmanuel Durand [Tue, 27 Nov 2012 20:34:19 +0000 (15:34 -0500)]
shm: Fix compilation of shm on OSX

https://bugzilla.gnome.org/show_bug.cgi?id=689183

11 years agompegtsmux: crashes when trying to re-use the element
Krzysztof Konopko [Mon, 26 Nov 2012 19:21:03 +0000 (19:21 +0000)]
mpegtsmux: crashes when trying to re-use the element

A crash occured after pushing buffers and changing mpegtsmux state to
NULL/READ and then back to PLAYING/PAUSED.

The crash was caused by holding a dangling pointer in the MpegTsMux
program table.

Additionally stream headers were leaked when resetting the element:
mux->streamheader set to NULL in mpegtsmux_reset() before it's released
later in the same function.

Added a unit test: test_multiple_state_change

https://bugzilla.gnome.org/show_bug.cgi?id=689107

11 years agoAdd latest ported plugins etc.
Christian Fredrik Kalager Schaller [Fri, 23 Nov 2012 11:26:43 +0000 (12:26 +0100)]
Add latest ported plugins etc.

11 years agompegtsmux: propagate flow returns
Krzysztof Konopko [Thu, 22 Nov 2012 10:57:25 +0000 (10:57 +0000)]
mpegtsmux: propagate flow returns

And add a unit test.

https://bugzilla.gnome.org/show_bug.cgi?id=688870

11 years agowindows: Put the DirectX LDFLAGS in the correct place and reorder libraries
Sebastian Dröge [Wed, 21 Nov 2012 09:21:50 +0000 (10:21 +0100)]
windows: Put the DirectX LDFLAGS in the correct place and reorder libraries

11 years agohlssink: add doc chunk with example command line
Tim-Philipp Müller [Tue, 20 Nov 2012 23:20:38 +0000 (23:20 +0000)]
hlssink: add doc chunk with example command line

11 years agod3dvideosink: fix redefinition of DECLARE_INTERFACE_IID
Andoni Morales Alastruey [Tue, 20 Nov 2012 11:05:17 +0000 (12:05 +0100)]
d3dvideosink: fix redefinition of DECLARE_INTERFACE_IID

https://bugzilla.gnome.org/show_bug.cgi?id=688510

11 years agoGstPhotography: Add new enum values to match android's parameters
Youness Alaoui [Tue, 20 Nov 2012 00:29:48 +0000 (19:29 -0500)]
GstPhotography: Add new enum values to match android's parameters

https://bugzilla.gnome.org/show_bug.cgi?id=688486

11 years agocodecparsers: vc1: fix PTYPE for interlaced frames.
Gwenole Beauchesne [Mon, 19 Nov 2012 09:32:57 +0000 (10:32 +0100)]
codecparsers: vc1: fix PTYPE for interlaced frames.

Coverity found missing break in parse_frame_header_advanced() when
determining PTYPE from FPTYPE for interlaced streams.

https://bugzilla.gnome.org/show_bug.cgi?id=688626

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
11 years agocodecparsers: h264: fix error code for invalid size parsed in SPS.
Gwenole Beauchesne [Fri, 21 Sep 2012 16:23:21 +0000 (18:23 +0200)]
codecparsers: h264: fix error code for invalid size parsed in SPS.

gst_h264_parse_sps() returned FALSE if it parsed invalid (negative)
size components. Now make it gracefully return GST_H264_PARSER_ERROR
instead of GST_H264_PARSER_OK (FALSE).

https://bugzilla.gnome.org/show_bug.cgi?id=684568

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 19 Nov 2012 11:26:27 +0000 (11:26 +0000)]
Automatic update of common submodule

From b497c4f to a72faea

11 years agompeg4videoparse: Fix nitpick
Thibault Saunier [Thu, 15 Nov 2012 14:37:12 +0000 (11:37 -0300)]
mpeg4videoparse: Fix nitpick

11 years agompeg4videoparse: Make sure pad template caps are not fixed from the begging
Thibault Saunier [Thu, 15 Nov 2012 13:14:34 +0000 (10:14 -0300)]
mpeg4videoparse: Make sure pad template caps are not fixed from the begging

Right now decodebin will concider the pad template caps as fixed and if a decoder
has restriction on for example height/width it won't be autoplugged because
gst_caps_is_subset fails as those fields are missing from the pad template caps.
We fix the issue here making sure that the pad caps are fixed using data from
the stream.

11 years agotsdemux: forward upstream time segments after flushes
Josep Torra [Tue, 13 Nov 2012 21:40:25 +0000 (22:40 +0100)]
tsdemux: forward upstream time segments after flushes

Also reset segment info and drop the segment event when demuxer is
flushed.
Restore demuxer segment with the info stored in base when demuxer is
going to push data again if needed.
Drop code to recover the segment info from base in the initial program
becauses it's superseded by the new code.

11 years agogst_adapter_prev_timestamp -> gst_adapter_prev_pts
Tim-Philipp Müller [Wed, 14 Nov 2012 12:41:27 +0000 (12:41 +0000)]
gst_adapter_prev_timestamp -> gst_adapter_prev_pts

11 years agohls: dist all header files needed to build
Tim-Philipp Müller [Wed, 14 Nov 2012 11:35:23 +0000 (11:35 +0000)]
hls: dist all header files needed to build

11 years agoaccurip: fix linker flags
Tim-Philipp Müller [Wed, 14 Nov 2012 10:46:55 +0000 (10:46 +0000)]
accurip: fix linker flags

Spotted by Rico Tzschichholz.

11 years agotsdemux: reset the stream some more in the flushes
Josep Torra [Sun, 11 Nov 2012 11:46:43 +0000 (12:46 +0100)]
tsdemux: reset the stream some more in the flushes

Now that we handle flushing in the FLUSH_STOP event we need to make
the streams ready if they were flushing.

11 years agompegtspacketizer: flush observations too
Josep Torra [Sun, 11 Nov 2012 11:45:03 +0000 (12:45 +0100)]
mpegtspacketizer: flush observations too

Flush the previous observations when the packetizer is flushed.
Also don't leak them in the dispose.

11 years agompegtsbase: fix double unref of seek event
Josep Torra [Sat, 10 Nov 2012 19:44:44 +0000 (20:44 +0100)]
mpegtsbase: fix double unref of seek event

11 years agompegtsbase: flush in FLUSH_STOP to avoid race conditions
Josep Torra [Sat, 10 Nov 2012 19:30:13 +0000 (20:30 +0100)]
mpegtsbase: flush in FLUSH_STOP to avoid race conditions

Ensure the chain is not running before reset the state to avoid race
conditions and random corruptions downstream.
Also fixes segfaults in the packetizer due wrong available values that
causes gst_adapter_map to return a NULL pointer.

11 years agoamcvideodec: Fix refcount problem with frames being dropped because of decoder bugs
Sebastian Dröge [Mon, 12 Nov 2012 13:56:25 +0000 (14:56 +0100)]
amcvideodec: Fix refcount problem with frames being dropped because of decoder bugs

11 years agoeglglessink: Use new GType for GThread instead of just G_TYPE_POINTER
Sebastian Dröge [Mon, 12 Nov 2012 10:48:38 +0000 (11:48 +0100)]
eglglessink: Use new GType for GThread instead of just G_TYPE_POINTER

11 years agoandroidmedia: Update to new GLib thread API
Sebastian Dröge [Mon, 12 Nov 2012 10:32:44 +0000 (11:32 +0100)]
androidmedia: Update to new GLib thread API

11 years agoRevert "tspacketizer: ensure that a null pointer isn't accessed"
Josep Torra [Sat, 10 Nov 2012 18:52:46 +0000 (19:52 +0100)]
Revert "tspacketizer: ensure that a null pointer isn't accessed"

This reverts commit 6efd611b8c6f43f67a2f93f8445c189e24961abd.

Also this extra check won't be needed if it's fixed the race by moving
flush actions to FLUSH_STOP.

11 years agoRevert "tsbase: add a guard with an atomic boolean when flushing"
Josep Torra [Sat, 10 Nov 2012 18:46:40 +0000 (19:46 +0100)]
Revert "tsbase: add a guard with an atomic boolean when flushing"

This reverts commit e14e310f7178aa8c020f593e3f71ec92ca2531f7.

Would be better move the packetizer flushing to FLUSH_STOP and avoid
the race that way. Without introducing a memory barrier that could
have impact in the performance.

11 years agohlssink: remove vim .swp files that I just committed accidentally...
Alessandro Decina [Sat, 10 Nov 2012 13:43:17 +0000 (14:43 +0100)]
hlssink: remove vim .swp files that I just committed accidentally...

11 years agohlssink: port to 1.0
Alessandro Decina [Sat, 10 Nov 2012 13:26:46 +0000 (14:26 +0100)]
hlssink: port to 1.0

11 years agohlssink: cut segments using the running-time
Alessandro Decina [Sun, 28 Oct 2012 20:29:31 +0000 (21:29 +0100)]
hlssink: cut segments using the running-time

11 years agohlssink: don't unref ->multifilesink.
Alessandro Decina [Sun, 9 Sep 2012 19:56:43 +0000 (21:56 +0200)]
hlssink: don't unref ->multifilesink.

We gst_bin_add it to ourself so no need to unref in _dispose.

11 years agohlssink: rework _reset a bit
Alessandro Decina [Sun, 9 Sep 2012 19:56:22 +0000 (21:56 +0200)]
hlssink: rework _reset a bit

11 years agotsbase: add a guard with an atomic boolean when flushing
Josep Torra [Fri, 9 Nov 2012 23:08:35 +0000 (00:08 +0100)]
tsbase: add a guard with an atomic boolean when flushing

11 years agotspacketizer: ensure that a null pointer isn't accessed
Josep Torra [Fri, 9 Nov 2012 21:17:11 +0000 (22:17 +0100)]
tspacketizer: ensure that a null pointer isn't accessed

Mitigates segfault due race condition in FLUSH_START handling and
mpegts_base_chain.

11 years agompegts: Only use timestamp-based PCR/PTS estimation when needed
Edward Hervey [Thu, 8 Nov 2012 16:15:26 +0000 (17:15 +0100)]
mpegts: Only use timestamp-based PCR/PTS estimation when needed

When dealing with non-time based push-mode streams, we need to revert
to using the offset-based PCR/PTS estimation logic of packetizer.

This solves uses cases such as:
 pushfile:// ! tsdemux
 src ! queue ! tsdemux

https://bugzilla.gnome.org/show_bug.cgi?id=687178