platform/upstream/gstreamer.git
10 years agomssdemux: synchronize with the download loop thread to signal it to continue
George Kiagiadakis [Fri, 12 Sep 2014 05:36:47 +0000 (02:36 -0300)]
mssdemux: synchronize with the download loop thread to signal it to continue

If EOS or ERROR happens before the download loop thread has reached its
g_cond_wait() call, then the g_cond_signal doesn't have any effect and
the download loop thread stucks later.

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

10 years agohlsdemux: synchronize with the download loop thread to signal it to continue
George Kiagiadakis [Fri, 12 Sep 2014 05:35:44 +0000 (02:35 -0300)]
hlsdemux: synchronize with the download loop thread to signal it to continue

If EOS or ERROR happens before the download loop thread has reached its
g_cond_wait() call, then the g_cond_signal doesn't have any effect and
the download loop thread stucks later.

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

10 years agodashdemux: synchronize with the download loop thread to signal it to continue
George Kiagiadakis [Fri, 29 Aug 2014 10:38:12 +0000 (12:38 +0200)]
dashdemux: synchronize with the download loop thread to signal it to continue

If EOS or ERROR happens before the download loop thread has reached its
g_cond_wait() call, then the g_cond_signal doesn't have any effect and
the download loop thread stucks later.

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

10 years agomssdemux: fix clearing of eos state in pads
Thiago Santos [Wed, 17 Sep 2014 20:27:53 +0000 (17:27 -0300)]
mssdemux: fix clearing of eos state in pads

The internal pad still keeps its EOS flag and event as it can be assigned
after the flush-start/stop pair is sent. The EOS is assigned from the streaming
thread so this is racy.

To be sure to clear it, it has to be done after setting the source to READY to
be sure that its streaming thread isn't running.

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

10 years agohlsdemux: fix clearing of eos state in pads
Thiago Santos [Wed, 17 Sep 2014 20:27:25 +0000 (17:27 -0300)]
hlsdemux: fix clearing of eos state in pads

The internal pad still keeps its EOS flag and event as it can be assigned
after the flush-start/stop pair is sent. The EOS is assigned from the streaming
thread so this is racy.

To be sure to clear it, it has to be done after setting the source to READY to
be sure that its streaming thread isn't running.

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

10 years agodashdemux: fix clearing of eos state in pads
Thiago Santos [Wed, 17 Sep 2014 17:51:53 +0000 (14:51 -0300)]
dashdemux: fix clearing of eos state in pads

The internal pad still keeps its EOS flag and event as it can be assigned
after the flush-start/stop pair is sent. The EOS is assigned from the streaming
thread so this is racy.

To be sure to clear it, it has to be done after setting the source to READY to
be sure that its streaming thread isn't running.

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

10 years agovtenc: Let the encoder automatically choose a h264 level
Sebastian Dröge [Thu, 18 Sep 2014 14:49:46 +0000 (17:49 +0300)]
vtenc: Let the encoder automatically choose a h264 level

We should negotiate these things via caps...

10 years agovtenc: Use 0 instead of G_MAXDOUBLE as the max keyframe interval
Sebastian Dröge [Thu, 18 Sep 2014 10:45:33 +0000 (13:45 +0300)]
vtenc: Use 0 instead of G_MAXDOUBLE as the max keyframe interval

0 means no limit, which was meant here with G_MAXDOUBLE probably.

10 years agovtenc: Expected duration is supposed to be the duration of the stream, not a frame
Sebastian Dröge [Thu, 18 Sep 2014 10:42:24 +0000 (13:42 +0300)]
vtenc: Expected duration is supposed to be the duration of the stream, not a frame

Just don't set it for now, it isn't really needed.

10 years agovc1parser: add unit test for sequence-layer parsing
Aurélien Zanelli [Thu, 18 Sep 2014 09:39:53 +0000 (11:39 +0200)]
vc1parser: add unit test for sequence-layer parsing

Check that a sequence-layer header is successfully parsed.

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

10 years agovc1parser: take care of endianness when parsing sequence-layer
Aurélien Zanelli [Thu, 18 Sep 2014 09:49:13 +0000 (11:49 +0200)]
vc1parser: take care of endianness when parsing sequence-layer

sequence-layer is serialized in little-endian byte order except for
STRUCT_C which is serialized in big-endian byte order.

But since STRUCT_A and STRUCT_B fields are defined as unsigned int msb
first, we have to pass them as big-endian to their parsing function. So
we basically use temporary buffers to convert them in big-endian.

See SMPTE 421M Annex J and L.

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

10 years agovtenc: Properly handle keyframes
Sebastian Dröge [Thu, 18 Sep 2014 10:11:05 +0000 (13:11 +0300)]
vtenc: Properly handle keyframes

Especially set the SYNC_POINT flag on keyframes.

10 years agompegdemux: removed an unwanted initialization and a variable
Sanjay NM [Thu, 18 Sep 2014 08:54:13 +0000 (14:24 +0530)]
mpegdemux: removed an unwanted initialization and a variable

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

10 years agodshowsrcwrapper: Port to 1.0
Jerome Laheurte [Wed, 17 Sep 2014 10:24:39 +0000 (12:24 +0200)]
dshowsrcwrapper: Port to 1.0

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

10 years agocamerabin2: removed redundant initialization
Sanjay NM [Thu, 18 Sep 2014 07:23:11 +0000 (12:53 +0530)]
camerabin2: removed redundant initialization

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

10 years agofaad: logical disjunction consecutive return, break unnecessary
Anuj Jaiswal [Wed, 17 Sep 2014 10:20:23 +0000 (15:50 +0530)]
faad: logical disjunction consecutive return, break unnecessary

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

10 years agovc1parse: enable header-format conversion
Aurélien Zanelli [Wed, 17 Sep 2014 09:49:22 +0000 (11:49 +0200)]
vc1parse: enable header-format conversion

In fact we support header-format conversion which is done in
update_caps() method.

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

10 years agovtdec: Fix compilation
Sebastian Dröge [Thu, 18 Sep 2014 07:30:04 +0000 (10:30 +0300)]
vtdec: Fix compilation

10 years agovtdec: Handle 0/1 framerates correctly by not calculating their frame duration
Sebastian Dröge [Thu, 18 Sep 2014 06:47:06 +0000 (09:47 +0300)]
vtdec: Handle 0/1 framerates correctly by not calculating their frame duration

10 years agoatdec: Fix some compiler warnings with newer clang
Sebastian Dröge [Wed, 17 Sep 2014 14:37:12 +0000 (17:37 +0300)]
atdec: Fix some compiler warnings with newer clang

10 years agovtenc: Prepare encoder after setup
Sebastian Dröge [Wed, 17 Sep 2014 14:10:58 +0000 (17:10 +0300)]
vtenc: Prepare encoder after setup

This will allow encoding to happen faster on the first frame.

10 years agovtenc: Only drain the encoder in ::finish(), not on every frame
Sebastian Dröge [Wed, 17 Sep 2014 14:08:57 +0000 (17:08 +0300)]
vtenc: Only drain the encoder in ::finish(), not on every frame

Otherwise quality and bitrate will be bad.

10 years agovtenc: Error out if encoding returned an error
Sebastian Dröge [Wed, 17 Sep 2014 12:39:26 +0000 (15:39 +0300)]
vtenc: Error out if encoding returned an error

Otherwise we will just continue consuming frames until all memory is filled
up and the app crashes.

10 years agovtenc: Check for errors from VTCompressionSessionCompleteFrames()
Sebastian Dröge [Wed, 17 Sep 2014 11:56:05 +0000 (14:56 +0300)]
vtenc: Check for errors from VTCompressionSessionCompleteFrames()

10 years agovtenc: Properly scale timestamps for the API and set invalid values
Sebastian Dröge [Wed, 17 Sep 2014 11:55:24 +0000 (14:55 +0300)]
vtenc: Properly scale timestamps for the API and set invalid values

10 years agovtdec: Properly scale timestamps for the API and set invalid values
Sebastian Dröge [Wed, 17 Sep 2014 11:54:39 +0000 (14:54 +0300)]
vtdec: Properly scale timestamps for the API and set invalid values

10 years agoapplemedia: Remove old code that is of no use anymore
Sebastian Dröge [Wed, 17 Sep 2014 10:19:04 +0000 (13:19 +0300)]
applemedia: Remove old code that is of no use anymore

10 years agovc1parse: forge sequence-layer from seq_hdr instead of seq_layer
Aurélien Zanelli [Tue, 16 Sep 2014 15:38:53 +0000 (17:38 +0200)]
vc1parse: forge sequence-layer from seq_hdr instead of seq_layer

If we don't have a seq_layer_buffer, we also don't have a valid
seq_layer because there are set together in
gst_vc1_parse_handle_seq_layer().

So when output header format is sequence-layer and when we don't have a
seq_layer_buffer, we forge one from seq_hdr.

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

10 years agoapplemedia: Unconditionally use VideoToolbox on iOS if available
Sebastian Dröge [Wed, 17 Sep 2014 07:39:26 +0000 (10:39 +0300)]
applemedia: Unconditionally use VideoToolbox on iOS if available

Because we do weak linking now we can always compile it in and check at
runtime if it is actually available or not.

10 years agoapplemedia: Do weak linking with the VideoToolbox framework
Sebastian Dröge [Wed, 17 Sep 2014 07:38:20 +0000 (10:38 +0300)]
applemedia: Do weak linking with the VideoToolbox framework

It does not exist on older OSX and iOS but we still want to
be able to use it when it's available.

10 years agowaylandsink: do not leak buffer pool in error case
Ognyan Tonchev [Tue, 16 Sep 2014 10:06:35 +0000 (12:06 +0200)]
waylandsink: do not leak buffer pool in error case

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

10 years agovc1parse: fix sequence-layer/frame-layer endianness
Aurélien Zanelli [Tue, 16 Sep 2014 13:59:58 +0000 (15:59 +0200)]
vc1parse: fix sequence-layer/frame-layer endianness

Sequence-layer and frame-layer are serialized in little-endian byte
order except for STRUCT_C and framedata fields as described in SMPTE 421M Annex
L.

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

10 years agovtenc: Port to GstVideoEncoder base class
Sebastian Dröge [Tue, 16 Sep 2014 13:51:28 +0000 (16:51 +0300)]
vtenc: Port to GstVideoEncoder base class

10 years agovtenc: Use correct instance struct size
Sebastian Dröge [Tue, 16 Sep 2014 13:13:16 +0000 (16:13 +0300)]
vtenc: Use correct instance struct size

10 years agovtdec: Fix compiler warnings
Sebastian Dröge [Tue, 16 Sep 2014 12:48:11 +0000 (15:48 +0300)]
vtdec: Fix compiler warnings

values of type 'OSStatus' should not be used as format arguments; add an explicit cast to 'int' instead [-Wformat]

10 years agovtenc: Port to the real VideoToolbox API instead of using our dlopen() wrapper
Sebastian Dröge [Tue, 16 Sep 2014 12:02:46 +0000 (15:02 +0300)]
vtenc: Port to the real VideoToolbox API instead of using our dlopen() wrapper

It's a public framework since a long time.

10 years agoglfilter: do not leak pool in error cases
Ognyan Tonchev [Tue, 16 Sep 2014 09:42:34 +0000 (11:42 +0200)]
glfilter: do not leak pool in error cases

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

10 years agovdpdecoder: do not leak pool
Ognyan Tonchev [Tue, 16 Sep 2014 09:43:02 +0000 (11:43 +0200)]
vdpdecoder: do not leak pool

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

10 years agogltestsrc: do not leak pool in error cases
Ognyan Tonchev [Tue, 16 Sep 2014 09:41:43 +0000 (11:41 +0200)]
gltestsrc: do not leak pool in error cases

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

10 years agoopenni2src: do not leak pool
Ognyan Tonchev [Tue, 16 Sep 2014 09:42:13 +0000 (11:42 +0200)]
openni2src: do not leak pool

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

10 years agoglmixer: do not leak pool in error cases
Ognyan Tonchev [Tue, 16 Sep 2014 09:41:16 +0000 (11:41 +0200)]
glmixer: do not leak pool in error cases

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

10 years agovmncdec: modify wrong packetized mode logic
Vineeth T M [Tue, 16 Sep 2014 07:51:22 +0000 (13:21 +0530)]
vmncdec: modify wrong packetized mode logic

packetized mode is being set when framerate is being set
which is not correct. Changing the same by checking the
input segement format. If input segment is in TIME it is
Packetized, and if it is in BYTES it is not.

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

10 years agowebpdec: Remove unused variable
Sebastian Dröge [Tue, 16 Sep 2014 08:24:37 +0000 (11:24 +0300)]
webpdec: Remove unused variable

10 years agowebpdec: modify wrong packetized mode logic
Vineeth T M [Tue, 16 Sep 2014 07:49:25 +0000 (13:19 +0530)]
webpdec: modify wrong packetized mode logic

packetized mode is being set when framerate is being set
which is not correct. Changing the same by checking the
input segement format. If input segment is in TIME it is
Packetized, and if it is in BYTES it is not.

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

10 years agotemplatematch: Compare the correct loop variables
Sebastian Dröge [Mon, 15 Sep 2014 22:15:31 +0000 (01:15 +0300)]
templatematch: Compare the correct loop variables

10 years agovtdec: No need to set kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDeco...
Sebastian Dröge [Mon, 15 Sep 2014 12:42:41 +0000 (15:42 +0300)]
vtdec: No need to set kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder on iOS

10 years agoconfigure: And make the preprocessor check work properly
Sebastian Dröge [Mon, 15 Sep 2014 12:36:44 +0000 (15:36 +0300)]
configure: And make the preprocessor check work properly

10 years agoconfigure: Do the AM_CONDITIONAL() after finally setting the variable
Sebastian Dröge [Mon, 15 Sep 2014 12:25:46 +0000 (15:25 +0300)]
configure: Do the AM_CONDITIONAL() after finally setting the variable

10 years agoapplemedia: Don't include VideoToolbox on iOS < 8.0
Sebastian Dröge [Mon, 15 Sep 2014 12:12:31 +0000 (15:12 +0300)]
applemedia: Don't include VideoToolbox on iOS < 8.0

It's private API and does not work without a jailbroken device.

10 years agohlsdemux: Also refetch the playlist after the first fragment failure
Sebastian Dröge [Mon, 15 Sep 2014 10:33:45 +0000 (13:33 +0300)]
hlsdemux: Also refetch the playlist after the first fragment failure

Previously we only refetched the playlist if downloading a fragment
has failed once. We should also do that if it failed a second or third time,
chances are that the playlist was updated now and contains new URIs.

10 years agodash: Actually retry 3 times as advertised instead of 2
Sebastian Dröge [Mon, 15 Sep 2014 08:59:32 +0000 (11:59 +0300)]
dash: Actually retry 3 times as advertised instead of 2

10 years agohls: Actually retry 3 times as advertised instead of 2
Sebastian Dröge [Mon, 15 Sep 2014 08:59:19 +0000 (11:59 +0300)]
hls: Actually retry 3 times as advertised instead of 2

10 years agovtdec: Fix compilation on iOS 8.0
Sebastian Dröge [Sat, 13 Sep 2014 17:49:16 +0000 (20:49 +0300)]
vtdec: Fix compilation on iOS 8.0

10 years agovc1parse: fix malformed sequence layer header and STRUCT_C
Aurélien Zanelli [Thu, 11 Sep 2014 12:36:31 +0000 (14:36 +0200)]
vc1parse: fix malformed sequence layer header and STRUCT_C

This commit fix several issues with sequence layer header forging on
update_caps():
- 0x00000004 unsigned integer is before STRUCT_C.

- Set reserved bits of STRUCT_C to their values for simple/main
  profiles in sequence layer header format and ASF header format.

- Sequence layer shall be represented as a sequence of 32 bits unsigned
  integers and shall be serialized in little-endian byte order except
  for STRUCT_C which shall be serialized in big-endian byte-order.

See SMPTE 421M Annex L for more details about sequence layer format.

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

10 years agodvbsrc: Use proper variable for delivery system
Edward Hervey [Fri, 12 Sep 2014 12:49:44 +0000 (14:49 +0200)]
dvbsrc: Use proper variable for delivery system

We want to check the delivery system is ISDBT (and not the modulation
which we check later in that case).

CID #1238439

10 years agotsdemux: fix trivial coding style issue
Aurélien Zanelli [Fri, 12 Sep 2014 07:30:04 +0000 (09:30 +0200)]
tsdemux: fix trivial coding style issue

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

10 years agotsdemux: fix overflow of packet_length field of PESHeader
Aurélien Zanelli [Thu, 11 Sep 2014 16:33:20 +0000 (18:33 +0200)]
tsdemux: fix overflow of packet_length field of PESHeader

packet_length is defined as a guint16 in the PESHeader structure. This
definition match the specification. But since we add 6 bytes to the
packet_length value (length of start_code + stream_id + packet_length),
we can overflow the guint16 when the value in the PES header is greater
than 65529.
So use a guint32 instead of a guint16 to avoid overflow.

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

10 years agomssdemux: improve position detection when a download restart
Matthieu Bouron [Wed, 10 Sep 2014 18:39:44 +0000 (15:39 -0300)]
mssdemux: improve position detection when a download restart

Query other src pads before falling back to the position of the last
known pushed segment (which can be far ahead in time).

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

10 years agodashdemux: improve position detection when a download restart
Matthieu Bouron [Wed, 10 Sep 2014 13:43:05 +0000 (15:43 +0200)]
dashdemux: improve position detection when a download restart

Query other src pads before falling back to the position of the last
known pushed segment (which can be far ahead in time).

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

10 years agompegpsmux: fix memory leak when converting H.264 avc to byte-stream format
Belozorov Semen [Thu, 11 Sep 2014 12:21:30 +0000 (16:21 +0400)]
mpegpsmux: fix memory leak when converting H.264 avc to byte-stream format

Fix memory leak for input stream with caps "video/x-h264,stream-format=avc".

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

10 years agoaiffmux: allocate byte writer on stack
Tim-Philipp Müller [Wed, 10 Sep 2014 18:27:27 +0000 (19:27 +0100)]
aiffmux: allocate byte writer on stack

10 years agoasfmux: allocate byte readers on the stack
Tim-Philipp Müller [Wed, 10 Sep 2014 18:19:32 +0000 (19:19 +0100)]
asfmux: allocate byte readers on the stack

10 years agotsdemux: clear mutex resources in dispose
Jesper Larsen [Wed, 10 Sep 2014 08:58:03 +0000 (10:58 +0200)]
tsdemux: clear mutex resources in dispose

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

10 years agoFix up one-element lists in template caps
Tim-Philipp Müller [Wed, 10 Sep 2014 16:24:39 +0000 (17:24 +0100)]
Fix up one-element lists in template caps

10 years agoavfvideosrc: fix bogus BGRA caps
Tim-Philipp Müller [Wed, 10 Sep 2014 15:38:52 +0000 (16:38 +0100)]
avfvideosrc: fix bogus BGRA caps

Remove 0.10-style endianness/*_mask/bpp/depth fields.

10 years agobuild: don't AC_SUBST intermediate values
Matthew Waters [Wed, 10 Sep 2014 09:16:53 +0000 (19:16 +1000)]
build: don't AC_SUBST intermediate values

10 years agoGstGLWindow: Introduce navigation thread
Vasilis Liaskovitis [Tue, 9 Sep 2014 10:01:47 +0000 (12:01 +0200)]
GstGLWindow: Introduce navigation thread

This thread dispatches navigation events. It is needed to avoid deadlocks
between window backend threads that emit navigation events (e.g. X11/GMainLoop
thread) and consumers of navigation events such as glimagesink, see
https://bugzilla.gnome.org/show_bug.cgi?id=733661

GstGlWindow_x11 thread is changed to invoke the navigation thread for navigation
dispatching, instead of emiting the event itself. Othe backends beside X11 do
not dispatch navigation events yet, but should use this thread when dispatching
these events in the future.

The navigation thread is currently part of GstGLWindow and not implemented in
separate subclasses / backends. This will be needed in the future.

gst_gl_window_x11_get_surface_dimensions is also changed to use a cached value
of the window's width, height. These values are now retrieved in the X11
thread, function gst_gl_window_x11_handle_event. This change is needed because
otherwise the XGetWindowAttributes gets called from the navigation thread,
leading to xlib aborting due to multithreaded access (if XInitThreads is not
called before, as is the case for gst-launch)

10 years agodvbsrc: retry opening the frontend on EINTR
Reynaldo H. Verdejo Pinochet [Fri, 5 Sep 2014 17:58:19 +0000 (13:58 -0400)]
dvbsrc: retry opening the frontend on EINTR

10 years agodvbsrc: assorted doc & spelling fixes
Reynaldo H. Verdejo Pinochet [Fri, 5 Sep 2014 17:32:09 +0000 (13:32 -0400)]
dvbsrc: assorted doc & spelling fixes

10 years agoRevert "dataurisrc: Remove unnecessary else if condition"
Thiago Santos [Sun, 7 Sep 2014 04:30:16 +0000 (01:30 -0300)]
Revert "dataurisrc: Remove unnecessary else if condition"

This reverts commit 3024ae9c38490817a76c83feab3c8472989cafad.

The *buf can be NULL or not depending if the caller of gst_pad_get_range
function provided or not a buffer.

10 years agotests: hlsdemux: fix compilation
Thiago Santos [Fri, 5 Sep 2014 19:11:08 +0000 (16:11 -0300)]
tests: hlsdemux: fix compilation

In file included from /home/thiagoss/gst/head/gstreamer/gst/gst.h:54:0,
                 from /home/thiagoss/gst/head/gstreamer/libs/gst/check/gstcheck.h:34,
                 from elements/hlsdemux_m3u8.c:27:
../../ext/hls/gstfragmented.h:8:28: error: redundant redeclaration of ‘fragmented_debug’ [-Werror=redundant-decls]
 GST_DEBUG_CATEGORY_EXTERN (fragmented_debug);

Move the definition of the category to after the declaration.

10 years agohlsdemux: And fix Makefile yet again
Sebastian Dröge [Fri, 5 Sep 2014 09:56:13 +0000 (12:56 +0300)]
hlsdemux: And fix Makefile yet again

10 years agohlsdemux: Include the m3u8.c file directly in the test because of an automake bug
Sebastian Dröge [Fri, 5 Sep 2014 09:25:01 +0000 (12:25 +0300)]
hlsdemux: Include the m3u8.c file directly in the test because of an automake bug

$(top_srcdir) doesn't seem to work with _SOURCES because that would be too
obvious.

http://lists.gnu.org/archive/html/automake/2013-09/msg00005.html

10 years agoaiffparse: Fix handling of 64 bit floating point data
Vineeth T M [Fri, 5 Sep 2014 04:23:15 +0000 (09:53 +0530)]
aiffparse: Fix handling of 64 bit floating point data

In gst_aiff_parse_create_caps if and else-if conditions
are duplicated.

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

10 years agofacedetect: Add new property min-stddev
Nicola Murino [Fri, 5 Sep 2014 06:51:30 +0000 (08:51 +0200)]
facedetect: Add new property min-stddev

face detection will be performed only if image standard deviation is
greater that min-stddev. Default min-stddev is 0 for backward
compatibility. This property will avoid to perform face detection on
images with little changes improving cpu usage and reducing false
positives

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

10 years agogltransformation: fix issues and expose mvp matrix
Lubosz Sarnecki [Mon, 7 Jul 2014 08:52:57 +0000 (10:52 +0200)]
gltransformation: fix issues and expose mvp matrix

* aspect should not be 0 on init
* rename fovy to fov
* add mvp to properties as boxed graphene type
* fix transformation order. scale first
* clear color with 1.0 alpha

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

10 years agohlsdemux: Also get the m3u8.c source file from the $(top_srcdir) for the test
Sebastian Dröge [Thu, 4 Sep 2014 18:41:54 +0000 (21:41 +0300)]
hlsdemux: Also get the m3u8.c source file from the $(top_srcdir) for the test

Should fix make distcheck for real now.

10 years agohlsdemux: Use $(top_srcdir) instead of $(top_builddir) for the include path
Sebastian Dröge [Thu, 4 Sep 2014 16:01:45 +0000 (19:01 +0300)]
hlsdemux: Use $(top_srcdir) instead of $(top_builddir) for the include path

10 years agomssdemux: Don't send flush events to deactivated pads
Sebastian Dröge [Thu, 4 Sep 2014 15:21:38 +0000 (18:21 +0300)]
mssdemux: Don't send flush events to deactivated pads

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

10 years agodashdemux: Don't send flush events to deactivated pads
Sebastian Dröge [Thu, 4 Sep 2014 15:21:25 +0000 (18:21 +0300)]
dashdemux: Don't send flush events to deactivated pads

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

10 years agohlsdemux: Don't send flush events to deactivated pads
Sebastian Dröge [Thu, 4 Sep 2014 15:20:58 +0000 (18:20 +0300)]
hlsdemux: Don't send flush events to deactivated pads

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

10 years agohlsdemux: Compile the m3u8.c directly instead of re-using the .o file
Sebastian Dröge [Thu, 4 Sep 2014 14:52:35 +0000 (17:52 +0300)]
hlsdemux: Compile the m3u8.c directly instead of re-using the .o file

10 years agohlsdemux: Add unit test for parsing of M3U8 playlists
Sebastian Dröge [Thu, 4 Sep 2014 14:50:16 +0000 (17:50 +0300)]
hlsdemux: Add unit test for parsing of M3U8 playlists

Ported from https://github.com/ylatuya/gst-plugins-bad

This still has some unit tests for alternative renditions and
seeking, which are commented out for the time being until we
support them properly.

10 years agohlsdemux: Properly assign offsets to the files if we accumulate them instead of readi...
Sebastian Dröge [Thu, 4 Sep 2014 14:49:23 +0000 (17:49 +0300)]
hlsdemux: Properly assign offsets to the files if we accumulate them instead of reading from the playlist

10 years agodataurisrc: Remove unnecessary else if condition
Vineeth T M [Thu, 4 Sep 2014 08:08:21 +0000 (13:38 +0530)]
dataurisrc: Remove unnecessary else if condition

In gst_data_uri_src_create(), buf cannot be NULL, hence
else if (*buf != NULL) will be invalid so removing the
else if condition and adding a check to unreference buf
in else condition, just in case

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

10 years agodvbsrc: simplify ISDB-T launch line example
Reynaldo H. Verdejo Pinochet [Tue, 2 Sep 2014 22:06:53 +0000 (18:06 -0400)]
dvbsrc: simplify ISDB-T launch line example

10 years agodvbsrc: delay locking till actually needed
Reynaldo H. Verdejo Pinochet [Tue, 2 Sep 2014 16:13:01 +0000 (12:13 -0400)]
dvbsrc: delay locking till actually needed

Get rid of unneeded locking at prop setting by doing
it only when tuning the frontend at _tune_fe()

10 years agodataurisrc: Make get_uri() threadsafe
Vineeth T M [Tue, 2 Sep 2014 06:41:44 +0000 (12:11 +0530)]
dataurisrc: Make get_uri() threadsafe

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

10 years agoamcaudiodec: Remove hack for Google MP3 decoder
Sebastian Dröge [Mon, 1 Sep 2014 14:41:50 +0000 (17:41 +0300)]
amcaudiodec: Remove hack for Google MP3 decoder

The first buffer does not contain more garbage than any other MP3 decoder
outputs and we don't really know how much we have to drop or not.

After this change the output has the same duration as with mad.

10 years agozebrastripe: Refactor to remove duplicate code
Vineeth T M [Mon, 1 Sep 2014 02:54:57 +0000 (08:24 +0530)]
zebrastripe: Refactor to remove duplicate code

gst_zebra_stripe_transform_frame_ip_planarY
gst_zebra_stripe_transform_frame_ip_YUY2
gst_zebra_stripe_transform_frame_ip_AYUV
all above 3 functions do the same functionality except for offset and pixel stride.
Hence moving the functionality to a single funtion.

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

10 years agodvbsrc: fix description for modulation prop
Reynaldo H. Verdejo Pinochet [Fri, 29 Aug 2014 22:55:32 +0000 (18:55 -0400)]
dvbsrc: fix description for modulation prop

10 years agodvbsrc: add basic checks on ISDB-T parameters
Reynaldo H. Verdejo Pinochet [Fri, 29 Aug 2014 21:16:09 +0000 (17:16 -0400)]
dvbsrc: add basic checks on ISDB-T parameters

Also add a routine for checking wrong delsys/modulation
combinations right before tuning (only implemented for
ISDB-T for now).

10 years agodvbsrc: add support for additional modulation types
Reynaldo H. Verdejo Pinochet [Fri, 29 Aug 2014 22:09:07 +0000 (18:09 -0400)]
dvbsrc: add support for additional modulation types

10 years agodvbsrc: drop FIXME on _ISDBT_LAYER_ENABLED prop
Reynaldo H. Verdejo Pinochet [Fri, 29 Aug 2014 17:26:12 +0000 (13:26 -0400)]
dvbsrc: drop FIXME on _ISDBT_LAYER_ENABLED prop

Valid values range from 1 to 7 as stated.

DTV_ISDBT_LAYER_ENABLED bitmask is built from
OR-ing 0x1 0x2 0x4. If all bits are set
(0x00000111 = 7) it means all layers should be
demodulated.

10 years agoassrender: remove code that can't be reached
Tim-Philipp Müller [Fri, 29 Aug 2014 18:26:40 +0000 (19:26 +0100)]
assrender: remove code that can't be reached

If this code could ever be reached, it would leak
memory (CID 1231979), but gst_caps_get_features()
never returns NULL, so that can't happen.

10 years agodvbsuboverlay: remove code that can't be reached
Tim-Philipp Müller [Fri, 29 Aug 2014 18:24:52 +0000 (19:24 +0100)]
dvbsuboverlay: remove code that can't be reached

If this code could ever be reached, it would leak
memory (CID 1231977), but gst_caps_get_features()
never returns NULL, so that can't happen.

10 years agoh264parse: fix up handling of input caps corner cases
Tim-Philipp Müller [Thu, 28 Aug 2014 19:12:07 +0000 (20:12 +0100)]
h264parse: fix up handling of input caps corner cases

Do more elaborate validation of the input caps: what fields
are required and/or not allowed. Don't assume AVC3 format
input without codec_data field is byte-stream format. Fix
up some now-unreachable code (CID 1232800).

10 years agoglimagesink: Add missing break to switch
Sebastian Dröge [Thu, 28 Aug 2014 13:42:30 +0000 (16:42 +0300)]
glimagesink: Add missing break to switch

CID 1232801

10 years agorawparse: Reset negotiation state when going back to READY
Sebastian Dröge [Thu, 28 Aug 2014 08:37:56 +0000 (11:37 +0300)]
rawparse: Reset negotiation state when going back to READY

After going back to READY we can accept new format settings again.

10 years agohlsdemux: Support OpenSSL for AES decryption of HLS fragments
Thomas Bluemel [Fri, 22 Aug 2014 21:18:59 +0000 (15:18 -0600)]
hlsdemux: Support OpenSSL for AES decryption of HLS fragments

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