platform/upstream/gst-plugins-bad.git
8 years ago[waylandsink] fix src_input for letterbox mode 15/57115/1 submit/tizen/20160115.080623
NAMJEONGYOON [Fri, 15 Jan 2016 07:03:15 +0000 (16:03 +0900)]
[waylandsink] fix src_input for letterbox mode

Change-Id: Ic448fb939c9b36a2da8993524447454dfd48878c

8 years agoMerge "[waylandsink] add properties related to display geometry" into tizen accepted/tizen/mobile/20160114.011415 accepted/tizen/tv/20160114.011430 accepted/tizen/wearable/20160114.011449 submit/tizen/20160113.063936
Heechul Jeon [Wed, 13 Jan 2016 06:28:39 +0000 (22:28 -0800)]
Merge "[waylandsink] add properties related to display geometry" into tizen

8 years agowaylandsink : Preconditon of display handle is wrong, 74/56674/1 accepted/tizen/mobile/20160112.043359 accepted/tizen/tv/20160112.043421 accepted/tizen/wearable/20160112.043447 submit/tizen/20160112.025507
Hyunil [Tue, 12 Jan 2016 01:48:52 +0000 (10:48 +0900)]
waylandsink : Preconditon of display handle is wrong,
waylandsink need to change form GST_ELEMENT_ERROR to GST_ELEMENT_WARNING
in gst_wayland_sink_set_window_handle()

Change-Id: I8fb713d42d0c9b0fe66a4c58919f81970b0d7fcb
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
8 years ago[waylandsink] add properties related to display geometry 23/56523/2
NAMJEONGYOON [Mon, 11 Jan 2016 02:12:22 +0000 (11:12 +0900)]
[waylandsink] add properties related to display geometry

Change-Id: I0c0e08fd9848d19ae660c54a4f6b56d691b0aac8

8 years agoMerge "[shmsrc,shmsink] Support TM1 hardware decoder" into tizen accepted/tizen/mobile/20160107.101253 accepted/tizen/tv/20160107.101311 accepted/tizen/wearable/20160107.101330 submit/tizen/20160106.234506
Heechul Jeon [Wed, 6 Jan 2016 23:42:53 +0000 (15:42 -0800)]
Merge "[shmsrc,shmsink] Support TM1 hardware decoder" into tizen

8 years ago[waylandsink] lower log level and add log for debugging 85/56285/2
NAMJEONGYOON [Wed, 6 Jan 2016 04:31:36 +0000 (13:31 +0900)]
[waylandsink] lower log level and add log for debugging

Change-Id: I8c7f516477591575836792065516a12a642e0b9f

8 years ago[shmsrc,shmsink] Support TM1 hardware decoder 18/56318/1
Jeongmo Yang [Wed, 6 Jan 2016 09:35:44 +0000 (18:35 +0900)]
[shmsrc,shmsink] Support TM1 hardware decoder

Change-Id: I5af4c91e0b64c93a5c7cae5cecd075cb8fe81928
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
8 years agotsdemux: resolve svace issue 24/55824/2 accepted/tizen/mobile/20151230.114356 accepted/tizen/tv/20151230.114426 accepted/tizen/wearable/20151230.114454 submit/tizen/20151230.013557
Eunhae Choi [Tue, 29 Dec 2015 13:40:28 +0000 (22:40 +0900)]
tsdemux: resolve svace issue

Change-Id: Idd1c887ac5b8f89b679e69fd79417d35ec2eaf06
Signed-off-by: Eunhae Choi <eunhae1.choi@samsung.com>
8 years agoChange license name and don't install GPL license 50/55750/1 accepted/tizen/mobile/20151230.113429 accepted/tizen/tv/20151230.113501 accepted/tizen/wearable/20151230.113535 submit/tizen/20151229.095752
Gilbok Lee [Tue, 29 Dec 2015 06:40:51 +0000 (15:40 +0900)]
Change license name and don't install GPL license

Change-Id: I781aa2a85e1f1e5fbef70917190064ed3183ab47
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoMerge "Disable unused plugins" into tizen submit/tizen/20151229.053830
Heechul Jeon [Tue, 29 Dec 2015 05:30:58 +0000 (21:30 -0800)]
Merge "Disable unused plugins" into tizen

8 years agoadd hls pathes to support hw codec 12/55412/1 accepted/tizen/mobile/20151228.233306 accepted/tizen/tv/20151228.232157 accepted/tizen/wearable/20151228.231452 submit/tizen/20151228.110604
Eunhae Choi [Wed, 23 Dec 2015 11:44:59 +0000 (20:44 +0900)]
add hls pathes to support hw codec

Change-Id: I53f77546d9292c8cc63e4ba07a8c33a00777e18c
Signed-off-by: Eunhae Choi <eunhae1.choi@samsung.com>
8 years agoDisable unused plugins 97/55397/1
Gilbok Lee [Wed, 23 Dec 2015 11:00:25 +0000 (20:00 +0900)]
Disable unused plugins

Change-Id: I6bc158dfb06e59abdb73bd073ecc40ed791c48a5
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoMerge "Waylandsink : Apply tizen_policy_place_subsurface_below_parent() to area and... accepted/tizen/mobile/20151221.223658 accepted/tizen/tv/20151221.223719 accepted/tizen/wearable/20151221.223725 submit/tizen/20151221.104448 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Heechul Jeon [Mon, 21 Dec 2015 10:44:16 +0000 (02:44 -0800)]
Merge "Waylandsink : Apply tizen_policy_place_subsurface_below_parent() to area and video subsurface" into tizen

8 years agoWaylandsink : Apply tizen_policy_place_subsurface_below_parent() to area and video... 32/55032/1
Hyunil [Mon, 21 Dec 2015 10:27:44 +0000 (19:27 +0900)]
Waylandsink : Apply tizen_policy_place_subsurface_below_parent() to area and video subsurface

Change-Id: Ic2d6e9c30cdb9626e7a1377f84892a3c07a52146
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
8 years agoMerge "enable dash plugins" into tizen accepted/tizen/mobile/20151221.101756 accepted/tizen/tv/20151221.101612 accepted/tizen/wearable/20151221.101753 submit/tizen/20151221.083048
Heechul Jeon [Mon, 21 Dec 2015 08:24:36 +0000 (00:24 -0800)]
Merge "enable dash plugins" into tizen

8 years agoWaylandsink : fix tearing issue 45/54845/1 accepted/tizen/mobile/20151219.043929 accepted/tizen/tv/20151219.044402 accepted/tizen/wearable/20151219.044643 submit/tizen/20151218.070753
Hyunil [Fri, 18 Dec 2015 06:58:45 +0000 (15:58 +0900)]
Waylandsink : fix tearing issue

Change-Id: I46e3428840c5f5886e0b327ba3c09ce4601add24
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
8 years agoEnable waylandsink 1.6.1 with wayland-tbm library 66/54666/1 accepted/tizen/mobile/20151217.093550 accepted/tizen/tv/20151217.093522 accepted/tizen/wearable/20151217.093526 submit/tizen/20151217.061810
Hyunil [Thu, 17 Dec 2015 05:32:33 +0000 (14:32 +0900)]
Enable waylandsink 1.6.1 with wayland-tbm library
1. apply zero copy
2. use-tbm property

Change-Id: Id046a982512202c052a3634d96d4202182feb6a6
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
8 years agoenable dash plugins 29/54529/1
NAMJEONGYOON [Wed, 16 Dec 2015 04:16:31 +0000 (13:16 +0900)]
enable dash plugins

Change-Id: Ic24f12271a37a710890e09d47169d4795f132352

8 years agofix build dependency of devel package 31/54231/1 accepted/tizen/mobile/20151214.233615 accepted/tizen/tv/20151214.233627 accepted/tizen/wearable/20151214.233639 submit/tizen/20151214.083821
Eunhae Choi [Mon, 14 Dec 2015 08:26:42 +0000 (17:26 +0900)]
fix build dependency of devel package

Change-Id: Ie5a2fd605ce9666a14d2b59b2f426449cb746755

8 years agoWaylandsink : disable libgstwaylandsink.so 18/53018/1 accepted/tizen/mobile/20151201.085623 accepted/tizen/tv/20151201.085648 accepted/tizen/wearable/20151201.085713 submit/tizen/20151201.024149
Hyunil [Mon, 30 Nov 2015 07:15:58 +0000 (16:15 +0900)]
Waylandsink : disable libgstwaylandsink.so

Change-Id: I5c602d0d59ba09b7d43b4eed6b503f75b9d5c455
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
8 years agomodify spec to build and merge prev modification 03/52703/2 submit/tizen/20151127.020604 submit/tizen/20151127.065352
Eunhae Choi [Thu, 26 Nov 2015 05:02:52 +0000 (14:02 +0900)]
modify spec to build and merge prev modification

Change-Id: I23a655365e85564ad82c8ae7ee32a3e73f73a6ef

8 years agoMerge remote-tracking branch 'remotes/origin/upstream/1.6' into tizen 02/52702/1
Eunhae Choi [Thu, 26 Nov 2015 04:39:22 +0000 (13:39 +0900)]
Merge remote-tracking branch 'remotes/origin/upstream/1.6' into tizen

Change-Id: Ia560d7ec75c4a90408986d1fdf1689ce0f73fd29

9 years agoRevert "vtenc: free input buffer ASAP" upstream/1.6
Alessandro Decina [Mon, 2 Nov 2015 09:14:11 +0000 (20:14 +1100)]
Revert "vtenc: free input buffer ASAP"

This reverts commit 6101fc57b8afac4f4e4aa742892f0d9c99d38a8c.

GstVideoEncoder assumes that the input buffer is available until _finish_frame.

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

9 years agoopusenc: Place 48kHz first in the caps
Sebastian Dröge [Fri, 30 Oct 2015 18:59:41 +0000 (20:59 +0200)]
opusenc: Place 48kHz first in the caps

For all the other sample rates the encoder will have to resample internally.

9 years agoopusdec: Assume 48kHz if no sample rate is given in the header
Sebastian Dröge [Sun, 1 Nov 2015 21:34:32 +0000 (23:34 +0200)]
opusdec: Assume 48kHz if no sample rate is given in the header

9 years agoRelease 1.6.1 1.6.1
Sebastian Dröge [Fri, 30 Oct 2015 14:44:45 +0000 (16:44 +0200)]
Release 1.6.1

9 years agoUpdate .po files
Sebastian Dröge [Fri, 30 Oct 2015 14:29:57 +0000 (16:29 +0200)]
Update .po files

9 years agopo: Update translations
Sebastian Dröge [Fri, 30 Oct 2015 12:30:17 +0000 (14:30 +0200)]
po: Update translations

9 years agoivfparse: Add vp9 support
Sreerenj Balachandran [Thu, 29 Oct 2015 13:02:38 +0000 (15:02 +0200)]
ivfparse: Add vp9 support

Differentiate the vp8/vp9 bitstream based on fourcc.

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

9 years agowaylandsink: don't advertise the local wl_display context
George Kiagiadakis [Mon, 26 Oct 2015 14:30:08 +0000 (15:30 +0100)]
waylandsink: don't advertise the local wl_display context

This wl_display proxy is temporary only until waylandsink goes NULL,
at which point the connection to the display is disposed. Unfortunately,
if this is advertised as a GstContext, playbin will cache it and re-feed
it to the sink when it goes PLAYING again, but the wl_display pointer
will at that point be invalid and cause a crash.

Another solution to the problem would be to also cache the GstWlDisplay
object inside the GstContext, which would automatically ref-count
the display connection, but I see no reason in doing that at the moment,
as there are no known users of this GstContext outside waylandsink.
It's probably better to avoid chasing hidden refcounts.

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

9 years agohlsdemux: don't crash or leak memory on broken master playlist
André Draszik [Tue, 20 Oct 2015 08:13:04 +0000 (09:13 +0100)]
hlsdemux: don't crash or leak memory on broken master playlist

If a (master) playlist contains a variant list entry without a
URI then during parsing of the next variant list entry we are
a) leaking the entry we're currently parsing (new_list), and
b) free'ing the pointer to the previous list entry (list) without
   updating the pointer.

Hence when then adding the URI for the latest parsed entry, incorrect
information is stored, as the information is used from 'list' which
is not valid memory anymore, also leading to crashes.

Fix this by correctly storing the new variant list entry pointer
as needed.

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

9 years agosrtp: Fix critical warning trying to retrieve SSRC from a non fb message
Santiago Carot-Nemesio [Tue, 20 Oct 2015 15:09:22 +0000 (17:09 +0200)]
srtp: Fix critical warning trying to retrieve SSRC from a non fb message

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

9 years agosrtpdec: skip padding when mapping RTP packets
Miguel París Díaz [Thu, 15 Oct 2015 22:23:56 +0000 (00:23 +0200)]
srtpdec: skip padding when mapping RTP packets

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

9 years agompdparser: Set default last_byte_pos to -1
Sebastian Dröge [Wed, 14 Oct 2015 07:31:23 +0000 (10:31 +0300)]
mpdparser: Set default last_byte_pos to -1

The value is optional in the range, and if it is absent it means we should
download until the end of stream. Not until position 0.

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

9 years agoamcvideodec: Properly forward the return value of gst_video_decoder_negotiate()
Sebastian Dröge [Wed, 14 Oct 2015 16:32:07 +0000 (19:32 +0300)]
amcvideodec: Properly forward the return value of gst_video_decoder_negotiate()

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

9 years agoamcvideodec: Implement support for COLOR_QCOM_FormatYVU420SemiPlanar32mMultiView...
Sebastian Dröge [Wed, 14 Oct 2015 16:24:22 +0000 (19:24 +0300)]
amcvideodec: Implement support for COLOR_QCOM_FormatYVU420SemiPlanar32mMultiView for decoding

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

9 years agodshowvideosink: Fix 64bit compatibility issue
plamot [Wed, 14 Oct 2015 16:35:00 +0000 (18:35 +0200)]
dshowvideosink: Fix 64bit compatibility issue

SetWindowLong works only for 32 bit systems, thus windows events (move/resize)
where not interpreted on 64 bit systems

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

9 years agohls/m3u8: Update current position in all cases
Edward Hervey [Wed, 8 Jul 2015 15:17:12 +0000 (17:17 +0200)]
hls/m3u8: Update current position in all cases

In order to ensure the sequence_position will always be consistently updated,
store the current file duration.

This way, when we advance, we can always increment the position based on what
was previously outputted.

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

9 years agopnmdec: drop frame in case of _handle() failure
Reynaldo H. Verdejo Pinochet [Sat, 17 Oct 2015 19:48:11 +0000 (12:48 -0700)]
pnmdec: drop frame in case of _handle() failure

Allows baseclass to handle it from there

Related to:

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

9 years agopnmdec: propagate input state after parsing
Reynaldo H. Verdejo Pinochet [Sat, 17 Oct 2015 08:51:24 +0000 (01:51 -0700)]
pnmdec: propagate input state after parsing

Store and copy input state fields when setting the
output state of the decoder. Avoids problems like
the framerate set by an upstream element being ignored

Related to:

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

9 years agopnmdec: completely reset parsing state at flush
Reynaldo H. Verdejo Pinochet [Sat, 17 Oct 2015 03:45:42 +0000 (20:45 -0700)]
pnmdec: completely reset parsing state at flush

Makes sure the mngr struct reflects a clean state
for the next frame, avoiding failures like:

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

9 years agogtk: separate out the widget/window destroy callbacks
Matthew Waters [Fri, 16 Oct 2015 15:40:50 +0000 (02:40 +1100)]
gtk: separate out the widget/window destroy callbacks

Fixes assertion due to the sink_finalize() being run before the widget destroy
callback.

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

9 years agodtls: Fix name conflict with openssl on win32
Paul Arzelier [Wed, 14 Oct 2015 20:51:29 +0000 (22:51 +0200)]
dtls: Fix name conflict with openssl on win32

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

9 years agohlsdemux: Avoid negative sequence numbers
Edward Hervey [Wed, 14 Oct 2015 15:38:39 +0000 (17:38 +0200)]
hlsdemux: Avoid negative sequence numbers

For live streams, we want to make sure there's a certain distance
between the sequence to play and the last (earliest) fragment.

The problem is that it assumes there are at least 3 fragments in
the playlist, which might not always be the case (like in the case
of a server restarting and gradually adding fragments).

In order to avoid ending up with negative sequence numbers (which
will just loop forever), limit the new target sequence number to
the highest of:
* either the first sequence number of the playlist (fallback)
* or 3 fragments from the last one (standard behaviour)

9 years ago[mpegdemux/mpegtsdemux/mpegtsmux] Fix prevent defects 55/49355/1 accepted/tizen/mobile/20151013.230501 accepted/tizen/tv/20151013.230513 accepted/tizen/wearable/20151013.230526 submit/tizen/20151013.104630 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Sangkyu Park [Tue, 13 Oct 2015 02:02:57 +0000 (11:02 +0900)]
[mpegdemux/mpegtsdemux/mpegtsmux] Fix prevent defects

Change-Id: I350c6ab9207077f481ffa6cc89da9ce02757df79
Signed-off-by: Sangkyu Park <sk1122.park@samsung.com>
9 years agodashdemux: fix undefined reference to gst_ntp_clock_new
Julien Isorce [Sun, 11 Oct 2015 09:00:43 +0000 (10:00 +0100)]
dashdemux: fix undefined reference to gst_ntp_clock_new

Found with gst-inspect-1.0 -b in gst-uninstalled env.

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

9 years agoid3tag: fix sample memory leak
Vineeth TM [Mon, 5 Oct 2015 02:21:07 +0000 (11:21 +0900)]
id3tag: fix sample memory leak

When getting sample from taglist, the memory is not being freed resulting in memory leak.

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

9 years agoglvideomixer: Proxy the ignore-eos videoaggregator property as well
Nirbheek Chauhan [Tue, 6 Oct 2015 15:53:11 +0000 (21:23 +0530)]
glvideomixer: Proxy the ignore-eos videoaggregator property as well

Identical to how the z-order property is proxied

9 years agoaudioaggregator: Fix build error
Vineeth TM [Tue, 6 Oct 2015 23:48:15 +0000 (08:48 +0900)]
audioaggregator: Fix build error

Build error due to wrong argument type in debug message
aagg->priv->offset and next_offset are of type int64, but uint64
formatter is being used in logs. Changing all those to int64

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

9 years agodashdemux: fixed has_next_period
Florin Apostol [Wed, 7 Oct 2015 13:22:46 +0000 (14:22 +0100)]
dashdemux: fixed has_next_period

gst_mpd_client_has_next_period now calls gst_mpd_client_setup_media_presentation
to refresh the period information.

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

9 years agoWaylandsink : Set zero to bufferpool config size because we need to create wl_buffer... 37/49137/1 accepted/tizen/mobile/20151008.004234 accepted/tizen/tv/20151008.004252 accepted/tizen/wearable/20151008.004258 submit/tizen/20151007.064915
Hyunil [Wed, 7 Oct 2015 06:36:47 +0000 (15:36 +0900)]
Waylandsink : Set zero to bufferpool config size because we need to create wl_buffer in everyframe.

Change-Id: I4bcc7cdf5ed752f6f4218cb2f9c67bef425fd3a8
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
9 years agortmpsrc: plug memory-leaks
Havard Graff [Thu, 1 Oct 2015 09:18:52 +0000 (11:18 +0200)]
rtmpsrc: plug memory-leaks

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

9 years agodtls: fix printf format on win32
Polochon_street [Fri, 2 Oct 2015 15:05:11 +0000 (17:05 +0200)]
dtls: fix printf format on win32

9 years agodtls: require openssl >= 1.0.1
Aleix Conchillo Flaqué [Wed, 30 Sep 2015 17:27:06 +0000 (10:27 -0700)]
dtls: require openssl >= 1.0.1

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

9 years agodtls: fix printf format on win32
Paul Arzelier [Fri, 2 Oct 2015 12:46:59 +0000 (14:46 +0200)]
dtls: fix printf format on win32

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

9 years agodashdemux: Correctly assign earliest pts instead of overriding it with first offset
John Chang [Wed, 30 Sep 2015 03:00:39 +0000 (11:00 +0800)]
dashdemux: Correctly assign earliest pts instead of overriding it with first offset

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

9 years agoaudioaggregator: Select the initial offset based on the start segment position
Sebastian Dröge [Wed, 30 Sep 2015 17:01:21 +0000 (19:01 +0200)]
audioaggregator: Select the initial offset based on the start segment position

instead of always using 0. Otherwise we might output a lot of silence in the
beginning instead of outputting from the relevant position.

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

9 years agoaggregator: Convert GST_ERROR_OBJECT() for seek events to GST_DEBUG_OBJECT()
Sebastian Dröge [Wed, 30 Sep 2015 17:05:35 +0000 (19:05 +0200)]
aggregator: Convert GST_ERROR_OBJECT() for seek events to GST_DEBUG_OBJECT()

9 years agoaggregator: For the start time selection, only set the segment position
Sebastian Dröge [Wed, 30 Sep 2015 17:03:05 +0000 (19:03 +0200)]
aggregator: For the start time selection, only set the segment position

segment.time and segment.start can stay the same, and were always the same
before anyway because of a mistake.

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

9 years agodashdemux: Implement lazy-loading of external periods
Sebastian Dröge [Tue, 22 Sep 2015 14:17:38 +0000 (16:17 +0200)]
dashdemux: Implement lazy-loading of external periods

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

9 years agompdparser: Load OnLoad external resources immediately instead of on demand
Sebastian Dröge [Mon, 21 Sep 2015 19:05:03 +0000 (21:05 +0200)]
mpdparser: Load OnLoad external resources immediately instead of on demand

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

9 years agompdparser: Add support for loading external SegmentLists
Sebastian Dröge [Tue, 8 Sep 2015 10:36:23 +0000 (13:36 +0300)]
mpdparser: Add support for loading external SegmentLists

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

9 years agompdparser: Add support for loading external AdaptationSets
Sebastian Dröge [Tue, 8 Sep 2015 10:04:11 +0000 (13:04 +0300)]
mpdparser: Add support for loading external AdaptationSets

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

9 years agompdparser: Implement loading of external Period nodes
Sebastian Dröge [Fri, 21 Aug 2015 13:40:10 +0000 (16:40 +0300)]
mpdparser: Implement loading of external Period nodes

The same has to be done for AdaptationSet and SegmentList nodes still.

Also this does not correctly implement the semantics: by default Period (and
other nodes) should only be loaded when needed, not in the very beginning. We
need to implement lazy loading for them, which means adjusting
gst_mpd_client_setup_media_presentation().

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

9 years agompdparser: Store an URI downloader in the parser for downloading additional MPD resou...
Sebastian Dröge [Fri, 21 Aug 2015 09:06:07 +0000 (12:06 +0300)]
mpdparser: Store an URI downloader in the parser for downloading additional MPD resources if needed

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

9 years agompdparser: Parse xlink attributes from Period, AdaptationSet and SegmentList
Sebastian Dröge [Fri, 10 Jul 2015 15:56:29 +0000 (18:56 +0300)]
mpdparser: Parse xlink attributes from Period, AdaptationSet and SegmentList

We still have to do something useful with them, like actually loading the
content behind the URL.

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

9 years agodashdemux: Properly handle relative and non-HTTP URIs for the headers/indices
Sebastian Dröge [Wed, 16 Sep 2015 21:38:24 +0000 (23:38 +0200)]
dashdemux: Properly handle relative and non-HTTP URIs for the headers/indices

gst_uri_join_strings() will return the second parameter if it is an absolute
URI. No need to do a (wrong) check if the URI is absolute or not beforehand.

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

9 years agompdparser: If no Initialization is present in the SegmentBase, assume it is before...
Sebastian Dröge [Wed, 16 Sep 2015 21:12:54 +0000 (23:12 +0200)]
mpdparser: If no Initialization is present in the SegmentBase, assume it is before the indexRange

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

9 years agomssdemux: activate streams before configuring bitrate
Philippe Normand [Wed, 16 Sep 2015 10:50:46 +0000 (12:50 +0200)]
mssdemux: activate streams before configuring bitrate

Doing the contrary has no effect and the consequence is that playback
will start with the lowest bitrate even if we can already handle
higher bitrate.

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

9 years agomssdemux: always use timescale for gst timestamp calculation
Philippe Normand [Thu, 3 Sep 2015 13:11:00 +0000 (15:11 +0200)]
mssdemux: always use timescale for gst timestamp calculation

Not doing this can lead the demuxer to attempt downloading fragments
for an invalid start time. The server would then send a HTTP
Precondition failed error, the demuxer would try some more times to
download the invalid fragment and eventually error out.

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

9 years agogl: Pass GL_CFLAGS to g-ir-scanner
Antoine Jacoutot [Wed, 30 Sep 2015 06:36:15 +0000 (08:36 +0200)]
gl: Pass GL_CFLAGS to g-ir-scanner

This unbreaks building when some headers are under a non-standard path.
e.g. /usr/X11R6/include as on OpenBSD.

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

9 years agoapplemedia: dist missing header files
Aleix Conchillo Flaqué [Wed, 30 Sep 2015 07:44:16 +0000 (00:44 -0700)]
applemedia: dist missing header files

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

9 years agoaudiointerleave: typecast bit-mask to guint64 to fix segmentation fault
Vineeth TM [Wed, 30 Sep 2015 04:13:19 +0000 (13:13 +0900)]
audiointerleave: typecast bit-mask to guint64 to fix segmentation fault

While creating caps in audiointerleave tests, bitmask is being set as 0x9
This is resulting in segmentation fault. Fix the same by typecasting to guint64

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

9 years agompegtsmux: fix downstream key unit events handling with hlssink
Tim-Philipp Müller [Tue, 29 Sep 2015 23:36:14 +0000 (00:36 +0100)]
mpegtsmux: fix downstream key unit events handling with hlssink

The buffer timestamps in the collect function will already be
running time, don't try to convert them again to running time,
this would yield CLOCK_TIME_NONE now that the segment is shifted
to account for negative dts.

This fixes x264enc ! mpegtsmux ! hlssink, which was broken
because mpegtsmux would send a downstream key unit event with
running time NONE and then hlssink would immediately send
another one upstream and it would just be a flood of force
keyframe events in both directions after the first one. This
would then break hlssink because it uses multifilesink in
next-file=key-unit-event mode, and starting a new file after
every few kB does not work well for HLS.

9 years agovideoaggregator: fix compilation with older glib version
Tim-Philipp Müller [Tue, 29 Sep 2015 12:31:18 +0000 (13:31 +0100)]
videoaggregator: fix compilation with older glib version

Remove weird use of private gtype defines and fix compilation
with older glib versions such as 2.36.

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

9 years agoassrender: fix leak of tag samples in the tag list
Arnaud Vrac [Mon, 28 Sep 2015 18:56:56 +0000 (20:56 +0200)]
assrender: fix leak of tag samples in the tag list

Move handling of a GstSample in a separate function, and unref the
sample after calling it. libass copies the font data so we don't need to
keep it around.

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

9 years agoassrender: fix gap event leak and invalid return value
Arnaud Vrac [Mon, 28 Sep 2015 18:30:17 +0000 (20:30 +0200)]
assrender: fix gap event leak and invalid return value

We don't want the gap event to be forwarded

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

9 years agogl/eagl: use the default GL context debug category
Matthew Waters [Thu, 17 Sep 2015 06:59:16 +0000 (16:59 +1000)]
gl/eagl: use the default GL context debug category

9 years agogtk: fix assertion when the element has no peer
Matthew Waters [Mon, 28 Sep 2015 14:25:00 +0000 (00:25 +1000)]
gtk: fix assertion when the element has no peer

When proxying keyboard/navigation/mouse events, only unref a successfully
retreived peer pad.

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

9 years agoresindvd: Send gap updates to the segment stop during stills
Jan Schmidt [Sun, 27 Sep 2015 03:07:19 +0000 (13:07 +1000)]
resindvd: Send gap updates to the segment stop during stills

Ignore the normal gap threshold for laggy streams and
immediately catch all streams up to the end of the segment
when processing gap updates for a segment during a
still frame sequence.

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

9 years agodvdspu: fix pgs palette colors
Arnaud Vrac [Fri, 18 Sep 2015 17:07:47 +0000 (19:07 +0200)]
dvdspu: fix pgs palette colors

U and V were inverted

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

9 years agoaudiomixer: fix deadlock when G_DISABLE_ASSERT is not defined
Tim-Philipp Müller [Sat, 26 Sep 2015 09:21:41 +0000 (10:21 +0100)]
audiomixer: fix deadlock when G_DISABLE_ASSERT is not defined

This makes the audiomixer unit test time out in master.
Broke with 587e7c4

9 years agoRelease 1.6.0 1.6.0
Sebastian Dröge [Fri, 25 Sep 2015 21:33:37 +0000 (23:33 +0200)]
Release 1.6.0

9 years agoUpdate .po files
Sebastian Dröge [Fri, 25 Sep 2015 21:01:35 +0000 (23:01 +0200)]
Update .po files

9 years agoglfilter: use GL_ELEMENT_ARRAY_BUFFER for vbo indices
Julien Isorce [Fri, 25 Sep 2015 09:32:00 +0000 (10:32 +0100)]
glfilter: use GL_ELEMENT_ARRAY_BUFFER for vbo indices

Fixes this error with chromium gpu process:
GL_INVALID_OPERATION, glBindBuffer: buffer bound to more than 1 target

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

9 years agoglmemory: fix texture leak in _gl_mem_copy
Julien Isorce [Thu, 17 Sep 2015 13:17:09 +0000 (14:17 +0100)]
glmemory: fix texture leak in _gl_mem_copy

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

9 years agowaylandsink: including missing header 98/48698/1 accepted/tizen/mobile/20150925.082403 accepted/tizen/tv/20150925.082415 accepted/tizen/wearable/20150925.082427 submit/tizen/20150925.045838
Boram Park [Fri, 25 Sep 2015 04:13:47 +0000 (13:13 +0900)]
waylandsink: including missing header

Change-Id: I6c300ae3bb0498294ad2b302c2283f5d824aa8a0

9 years agogtk: Only run from the main thread in stop() if we created the window
Sebastian Dröge [Thu, 24 Sep 2015 16:51:39 +0000 (18:51 +0200)]
gtk: Only run from the main thread in stop() if we created the window

We're not doing anything at all from the main thread in other cases.

9 years agogtk: When setting format check if pending format changed
Thibault Saunier [Thu, 24 Sep 2015 13:52:40 +0000 (15:52 +0200)]
gtk: When setting format check if pending format changed

In case the format changed fast and the pending format is different
than the currently set but the currently set is equal to the pending
one we could end up having mismatch between the finally set format
and the data stream format.

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

9 years agogtk: Do not forget to release OBJECT_LOCK on error path
Thibault Saunier [Thu, 24 Sep 2015 13:51:28 +0000 (15:51 +0200)]
gtk: Do not forget to release OBJECT_LOCK on error path

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

9 years agogtk: Factor out a function to run a function on main thread
Thibault Saunier [Thu, 24 Sep 2015 09:37:04 +0000 (11:37 +0200)]
gtk: Factor out a function to run a function on main thread

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

9 years agogtk: Marshall state changes in the main thread
Thibault Saunier [Thu, 24 Sep 2015 08:51:31 +0000 (10:51 +0200)]
gtk: Marshall state changes in the main thread

Gtk is not MT safe thus we need to make sure that everything is done
in the main thread when working with it.

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

9 years agodecklink: Add a clock epoch that is used as offset whenever restarting the clock
Sebastian Dröge [Wed, 23 Sep 2015 13:56:26 +0000 (15:56 +0200)]
decklink: Add a clock epoch that is used as offset whenever restarting the clock

Otherwise we're going to return times starting at 0 again after shutting down
an element for a specific input/output and then using it again later.

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

9 years agodecklink: Disable inputs/outputs in PAUSED->READY to allow going to PAUSED again...
Sebastian Dröge [Tue, 22 Sep 2015 17:35:00 +0000 (19:35 +0200)]
decklink: Disable inputs/outputs in PAUSED->READY to allow going to PAUSED again from there

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

9 years agogtksink: Do not show window until we reach the PAUSED state
Thibault Saunier [Wed, 23 Sep 2015 09:42:51 +0000 (11:42 +0200)]
gtksink: Do not show window until we reach the PAUSED state

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

9 years agompdparser: Only check stream->segments for a repeated last segment if we have a stati...
Sebastian Dröge [Tue, 22 Sep 2015 12:43:44 +0000 (14:43 +0200)]
mpdparser: Only check stream->segments for a repeated last segment if we have a static list of segments

Otherwise we'll crash, trying to derefence NULL. And if we have no static list
of segments, we can't have repeated segments anyway.

Regression introduced by cfe2871a5e3c5b1db20470927642b776e055a87a

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

9 years agox265enc: Drop incorrect stream-format="avc" in template caps
Arun Raghavan [Mon, 21 Sep 2015 13:32:08 +0000 (19:02 +0530)]
x265enc: Drop incorrect stream-format="avc" in template caps

9 years agogtksink: Do not re destroy the GtkWindow if destroyed by the user
Thibault Saunier [Mon, 21 Sep 2015 08:47:15 +0000 (10:47 +0200)]
gtksink: Do not re destroy the GtkWindow if destroyed by the user

Otherwise we will get an ASSERT.

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

9 years agogl/dispmanx: fix rendering with recent resize state tracking
Matthew Waters [Mon, 21 Sep 2015 08:04:40 +0000 (08:04 +0000)]
gl/dispmanx: fix rendering with recent resize state tracking

557ca6fda5f831be4aba5819bf7b30b296e575cd didn't change to the
necessary gst_gl_window_resize() call for the dispmanx backend.

9 years agoreplace 'tizen_buffer_pool' interface with 'wayland-tbm' library 07/48307/3 accepted/tizen/mobile/20150921.090159 accepted/tizen/tv/20150921.090213 accepted/tizen/wearable/20150921.090251 submit/tizen/20150921.042429 submit/tizen/20150921.055555 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620
Boram Park [Wed, 16 Sep 2015 12:07:43 +0000 (21:07 +0900)]
replace 'tizen_buffer_pool' interface with 'wayland-tbm' library

Change-Id: Ib85d3a3ec490eb50fe48f233f66f77d22080dd33