platform/upstream/gstreamer.git
12 years agortspconnection: handle cancellation correctly
Wim Taymans [Wed, 6 Jun 2012 14:41:03 +0000 (16:41 +0200)]
rtspconnection: handle cancellation correctly

12 years agoaudiopayload: disable broken bufferlist handling
Wim Taymans [Wed, 6 Jun 2012 14:40:24 +0000 (16:40 +0200)]
audiopayload: disable broken bufferlist handling

The bufferlist handling is broken so make sure it is never enabled.

12 years agortsp: don't leak address and socket
David Svensson Fors [Wed, 6 Jun 2012 12:53:43 +0000 (14:53 +0200)]
rtsp: don't leak address and socket

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

12 years agoupdate for tag event change
Wim Taymans [Wed, 6 Jun 2012 10:55:15 +0000 (12:55 +0200)]
update for tag event change

12 years agooggstream: reject Ogg/Opus streams with nonsensical preskip/granpos setup
Vincent Penquerc'h [Wed, 6 Jun 2012 10:01:13 +0000 (11:01 +0100)]
oggstream: reject Ogg/Opus streams with nonsensical preskip/granpos setup

As the spec mandates.

12 years agovideo: add pack_lines variable
Wim Taymans [Wed, 6 Jun 2012 09:38:00 +0000 (11:38 +0200)]
video: add pack_lines variable

Use a separate variable to describe the amount of lines that will be used in
packing instead of abusing the h_sub variable. Some formats might have no
subsampling but need to operate on multipe lines.

12 years agovideotestsrc: Remove more redundant code
Wim Taymans [Wed, 6 Jun 2012 09:15:50 +0000 (11:15 +0200)]
videotestsrc: Remove more redundant code

Use the video library to do the setup instead of keeping a separate incomplete
list.

12 years agovideo: add macro for component depth
Wim Taymans [Wed, 6 Jun 2012 08:21:55 +0000 (10:21 +0200)]
video: add macro for component depth

12 years agovideotestsrc: don't artificially restrict caps
Wim Taymans [Tue, 5 Jun 2012 14:58:19 +0000 (16:58 +0200)]
videotestsrc: don't artificially restrict caps

Use all the formats that the video library supports without any restrictions on
colorimetry or other parameters such as chroma-siting.

12 years agopbutils: Add descriptor for E-AC3 and PGS subtitles
Edward Hervey [Tue, 5 Jun 2012 10:27:09 +0000 (12:27 +0200)]
pbutils: Add descriptor for E-AC3 and PGS subtitles

12 years agowin32: update .def file for new video API
Tim-Philipp Müller [Tue, 5 Jun 2012 15:09:56 +0000 (16:09 +0100)]
win32: update .def file for new video API

12 years agovideo: move methods into separate files
Wim Taymans [Tue, 5 Jun 2012 10:47:22 +0000 (12:47 +0200)]
video: move methods into separate files

Move different video functionalities into different files

12 years agovideoconvert: refactor matrix setup
Wim Taymans [Mon, 4 Jun 2012 18:36:10 +0000 (20:36 +0200)]
videoconvert: refactor matrix setup

12 years agovideo: don't add unknown colorimetry
Wim Taymans [Mon, 4 Jun 2012 16:24:03 +0000 (18:24 +0200)]
video: don't add unknown colorimetry

12 years agovideodecoder: only copy known colorimetry values
Wim Taymans [Mon, 4 Jun 2012 16:17:42 +0000 (18:17 +0200)]
videodecoder: only copy known colorimetry values

Avoid overriding the default colorimetry values.

12 years agovideo: add unknown colorimetry parameters as well..
Wim Taymans [Mon, 4 Jun 2012 16:08:11 +0000 (18:08 +0200)]
video: add unknown colorimetry parameters as well..

12 years agovideo: use unknown colorimetry for unknown formats
Wim Taymans [Mon, 4 Jun 2012 16:00:42 +0000 (18:00 +0200)]
video: use unknown colorimetry for unknown formats

Use the default RGB colorimetry into only on RGB formats and use an unknown set
of defaults for the unknown format.

12 years agovideo: (de)serialize colorimetry on caps
Wim Taymans [Mon, 4 Jun 2012 14:15:25 +0000 (16:15 +0200)]
video: (de)serialize colorimetry on caps

12 years agovideoconvert: fix 0_255 handling
Wim Taymans [Mon, 4 Jun 2012 14:13:48 +0000 (16:13 +0200)]
videoconvert: fix 0_255 handling

We also need to apply an offset to the Cb and Cr samples in the 0-255 case.

12 years agovideo: don't add empty colorimetry to caps
Wim Taymans [Mon, 4 Jun 2012 13:26:21 +0000 (15:26 +0200)]
video: don't add empty colorimetry to caps

Don't use extra default colorimetry entries in the table to construct an output
colorimetry shortcut because they don't have a name.

12 years agovideo: fix default colorspace settings
Wim Taymans [Mon, 4 Jun 2012 12:51:41 +0000 (14:51 +0200)]
video: fix default colorspace settings

HD content is defined as height > 576

12 years agovideoconvert: improve color transform setup
Wim Taymans [Mon, 4 Jun 2012 12:46:21 +0000 (14:46 +0200)]
videoconvert: improve color transform setup

Remove hardcoded color matrices and compute the matrices using the cms helper
library that was in cogcolorspace before.

12 years agovideo: add generic film primaries
Wim Taymans [Mon, 4 Jun 2012 08:08:59 +0000 (10:08 +0200)]
video: add generic film primaries

12 years agovideo: Fix build of unit test
Sebastian Dröge [Mon, 4 Jun 2012 11:07:36 +0000 (13:07 +0200)]
video: Fix build of unit test

12 years agowin32: Update exported symbols list
Sebastian Dröge [Mon, 4 Jun 2012 11:04:00 +0000 (13:04 +0200)]
win32: Update exported symbols list

12 years agovideoencoder: Don't unref frame twice if not in the list
Sebastian Dröge [Mon, 4 Jun 2012 08:46:13 +0000 (10:46 +0200)]
videoencoder: Don't unref frame twice if not in the list

12 years agovideodecoder: Do not unref frame if not in the list
Matej Knopp [Sat, 2 Jun 2012 13:34:15 +0000 (09:34 -0400)]
videodecoder: Do not unref frame if not in the list

12 years agoRevert "audiodecoder: Error out earlier in a few places if something goes wrong"
Sebastian Dröge [Mon, 4 Jun 2012 08:01:42 +0000 (10:01 +0200)]
Revert "audiodecoder: Error out earlier in a few places if something goes wrong"

This reverts commit eb68a2d5a7e4e9598df6eb812589c092fe2cc89a.

This sometimes errors out too early now, needs some more thoughts.

12 years agoaudiodecoder: Return setcaps return value instead of always TRUE
Sebastian Dröge [Mon, 4 Jun 2012 07:56:30 +0000 (09:56 +0200)]
audiodecoder: Return setcaps return value instead of always TRUE

12 years agoaudiodecoder: Error out earlier in a few places if something goes wrong
Sebastian Dröge [Sat, 2 Jun 2012 15:15:42 +0000 (17:15 +0200)]
audiodecoder: Error out earlier in a few places if something goes wrong

12 years agovorbisdec: Error out if handling a header packet failed instead of just finishing...
Sebastian Dröge [Sat, 2 Jun 2012 15:02:10 +0000 (17:02 +0200)]
vorbisdec: Error out if handling a header packet failed instead of just finishing the frame

12 years agovideoconvert: use video helper library more
Wim Taymans [Fri, 1 Jun 2012 10:02:57 +0000 (12:02 +0200)]
videoconvert: use video helper library more

Use VideoInfo to setup the conversion.
Use the color matrix from the video info.

12 years agovideo: set default colorimetry info
Wim Taymans [Fri, 1 Jun 2012 09:58:18 +0000 (11:58 +0200)]
video: set default colorimetry info

Set default colorimetry info when not otherwise specified in caps.

12 years agovideo: update disted orc backup files for recent changes
Tim-Philipp Müller [Fri, 1 Jun 2012 09:02:02 +0000 (10:02 +0100)]
video: update disted orc backup files for recent changes

12 years agoAutomatic update of common submodule
Edward Hervey [Fri, 1 Jun 2012 08:28:41 +0000 (10:28 +0200)]
Automatic update of common submodule

From f1b5a96 to 1fab359

12 years agotheoraenc: do not use %zu, it is C99
Thiago Santos [Thu, 31 May 2012 21:55:32 +0000 (18:55 -0300)]
theoraenc: do not use %zu, it is C99

Cast the variables instead and fallback to %u

12 years agotheoraenc: fix printf format variable
Thiago Santos [Thu, 31 May 2012 21:28:14 +0000 (18:28 -0300)]
theoraenc: fix printf format variable

12 years agovideo: fix paletted format
Wim Taymans [Thu, 31 May 2012 11:38:54 +0000 (13:38 +0200)]
video: fix paletted format

RGB8_PALETTED -> RGB8P
Fix the definition of paletted formats, store the palette in the second
plane.
Make sure we copy the palette correctly in gst_video_frame_copy()
Don't do alignment on the palette in videopool

12 years agoAutomatic update of common submodule
Sebastian Dröge [Thu, 31 May 2012 11:08:04 +0000 (13:08 +0200)]
Automatic update of common submodule

From 92b7266 to f1b5a96

12 years agouridecodebin: Use cache dir for download buffering
Bastien Nocera [Thu, 31 May 2012 10:29:44 +0000 (11:29 +0100)]
uridecodebin: Use cache dir for download buffering

Instead of the temp directory. See:
http://0pointer.de/blog/projects/tmp.html

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

12 years agovideoconvert: use video library pack/unpack
Wim Taymans [Wed, 30 May 2012 15:08:56 +0000 (17:08 +0200)]
videoconvert: use video library pack/unpack

Remove obsolete code and use the video pack/unpack functions

12 years agovideotestsrc: enable more formats
Wim Taymans [Wed, 30 May 2012 14:51:16 +0000 (16:51 +0200)]
videotestsrc: enable more formats

12 years agovideo: And fix the build of the ORC sources
Sebastian Dröge [Wed, 30 May 2012 11:07:57 +0000 (13:07 +0200)]
video: And fix the build of the ORC sources

12 years agovideo: Fix generation of orc sources
Sebastian Dröge [Wed, 30 May 2012 11:06:11 +0000 (13:06 +0200)]
video: Fix generation of orc sources

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 30 May 2012 10:45:09 +0000 (12:45 +0200)]
Automatic update of common submodule

From ec1c4a8 to 92b7266

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 30 May 2012 09:23:23 +0000 (11:23 +0200)]
Automatic update of common submodule

From 3429ba6 to ec1c4a8

12 years agovideo-blend: prepare for 0.11 porting
Wim Taymans [Wed, 30 May 2012 07:25:12 +0000 (09:25 +0200)]
video-blend: prepare for 0.11 porting

Remove obsolete code.
Remove the BlendInfo structure, we can do this better with GstVideoFrame
Use GstVideoFrame in the API
Prefix functions with gst_

12 years agovideo: add support for premultiplied alpha
Wim Taymans [Wed, 30 May 2012 07:21:46 +0000 (09:21 +0200)]
video: add support for premultiplied alpha

12 years agovideotestsrc: use generic packing code
Wim Taymans [Tue, 29 May 2012 15:48:45 +0000 (17:48 +0200)]
videotestsrc: use generic packing code

Use the pack functions of the video library to construct the target
image.
Remove redundant functions.

12 years agovideo: update for removed formats
Wim Taymans [Tue, 29 May 2012 15:47:54 +0000 (17:47 +0200)]
video: update for removed formats

12 years agovideo: move enum difinition
Wim Taymans [Tue, 29 May 2012 15:45:33 +0000 (17:45 +0200)]
video: move enum difinition

c++ doesn't seem to like the typedef

12 years agovideo: Remove duplicate formats
Wim Taymans [Tue, 29 May 2012 15:34:29 +0000 (17:34 +0200)]
video: Remove duplicate formats

Remove Y800 and Y16 wich are the same as GRAY8 and GRAY16_LE
Add const to the GstVideoFormatInfo when used in argument
Add GRAY8 and GRAY16 pack/unpack functions

12 years agovideo: rename orc function names
Wim Taymans [Tue, 29 May 2012 13:20:08 +0000 (15:20 +0200)]
video: rename orc function names

12 years agovideo: fill in the pack/unpack functions
Wim Taymans [Tue, 29 May 2012 13:12:16 +0000 (15:12 +0200)]
video: fill in the pack/unpack functions

Add support for supporting chroma subsampling correctly in the pack
function.
Fill in the pack and unpack functions for most formats.
Add some missing pack/unpack functions to the orc file.

12 years agovideoconvert: remove unused functions
Wim Taymans [Tue, 29 May 2012 08:45:23 +0000 (10:45 +0200)]
videoconvert: remove unused functions

12 years agovideo-blend: remove unused defines
Wim Taymans [Tue, 29 May 2012 08:44:59 +0000 (10:44 +0200)]
video-blend: remove unused defines

12 years agotextoverlay: Use an external lock
Andre Moreira Magalhaes (andrunko) [Mon, 28 May 2012 17:18:10 +0000 (14:18 -0300)]
textoverlay: Use an external lock

Conflicts:

ext/pango/gsttextoverlay.c
ext/pango/gsttextoverlay.h

12 years agoaudio: add flags for the pack/unpack functions
Wim Taymans [Tue, 29 May 2012 07:54:43 +0000 (09:54 +0200)]
audio: add flags for the pack/unpack functions

Add a flag argument to the pack and unpack function so that we can expand it
later when needed. We could for example prefer a High Quality pack/unpack
operation later.

12 years agovideo: add flags for the pack/unpack functions
Wim Taymans [Tue, 29 May 2012 07:53:15 +0000 (09:53 +0200)]
video: add flags for the pack/unpack functions

Add a flag argument to the pack and unpack function so that we can expand it
later when needed. We could for example prefer a High Quality pack/unpack
operation later.

12 years agovideo: add padding
Wim Taymans [Tue, 29 May 2012 07:52:40 +0000 (09:52 +0200)]
video: add padding

12 years agovideo: fix UYVP packing function
Wim Taymans [Mon, 28 May 2012 15:11:46 +0000 (17:11 +0200)]
video: fix UYVP packing function

12 years agovideoconvert: fix v216
Wim Taymans [Mon, 28 May 2012 14:30:56 +0000 (16:30 +0200)]
videoconvert: fix v216

12 years agovideotestsrc: add support for I420_10 format
Wim Taymans [Mon, 28 May 2012 14:16:24 +0000 (16:16 +0200)]
videotestsrc: add support for I420_10 format

Add support for the I420_10 formats
Use the video frame api to get pixels and strides instead of our own
custom versions. Fixes the YVU9 format and probably some others.

12 years agovideo: fix v216 format description
Wim Taymans [Mon, 28 May 2012 14:14:30 +0000 (16:14 +0200)]
video: fix v216 format description

Fix the offsets of v216 video
Add the complex flag to some formats

12 years agodocs: update v216 format
Wim Taymans [Mon, 28 May 2012 14:13:42 +0000 (16:13 +0200)]
docs: update v216 format

Fix the v216 format description

12 years agovideotestsrc: fix AYUV64 format string
Wim Taymans [Mon, 28 May 2012 12:58:52 +0000 (14:58 +0200)]
videotestsrc: fix AYUV64 format string

12 years agodocs: update video formats document
Wim Taymans [Mon, 28 May 2012 12:49:52 +0000 (14:49 +0200)]
docs: update video formats document

12 years agovideoconvert: add support for 10bit I420
Wim Taymans [Mon, 28 May 2012 10:50:49 +0000 (12:50 +0200)]
videoconvert: add support for 10bit I420

Add support for 10bit I420
Reorganize some macros, have separate plane and component macros, fix
a problem with YV12 in the process.

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

12 years agovideopool: take pixel stride into account
Wim Taymans [Mon, 28 May 2012 09:08:18 +0000 (11:08 +0200)]
videopool: take pixel stride into account

When we need to add borders, take the pixel stride into account to move to the
right horizintal offset.

12 years agotests: don't use GstStructure API on tag lists
Tim-Philipp Müller [Sat, 26 May 2012 18:56:48 +0000 (19:56 +0100)]
tests: don't use GstStructure API on tag lists

12 years agotag: don't use GstStructure API on tag lists
Tim-Philipp Müller [Sat, 26 May 2012 18:56:30 +0000 (19:56 +0100)]
tag: don't use GstStructure API on tag lists

12 years agogst-discoverer: print all entries for a certain tag
Tim-Philipp Müller [Sat, 26 May 2012 18:53:50 +0000 (19:53 +0100)]
gst-discoverer: print all entries for a certain tag

If there are multiple entries for a tag, print all of them
individually.

12 years agogst-discoverer: don't use GstStructure API on tag lists
Tim-Philipp Müller [Sat, 26 May 2012 18:50:46 +0000 (19:50 +0100)]
gst-discoverer: don't use GstStructure API on tag lists

12 years agovideo: add 10 bits I420 format
Wim Taymans [Fri, 25 May 2012 14:58:50 +0000 (16:58 +0200)]
video: add 10 bits I420 format

Add 10 bits I420 format definitions
Move encoded format as second entry in the array so that it doesn't end up in a
weird place when we add formats.

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

12 years agocheck: Update video test for GST_VIDEO_FORMAT_ENCODED
Edward Hervey [Fri, 25 May 2012 14:05:29 +0000 (16:05 +0200)]
check: Update video test for GST_VIDEO_FORMAT_ENCODED

12 years agotests: Update ABI libs structure
Edward Hervey [Fri, 25 May 2012 14:05:06 +0000 (16:05 +0200)]
tests: Update ABI libs structure

12 years agoplaybin: add current-*uri properties
Wim Taymans [Fri, 25 May 2012 13:12:53 +0000 (15:12 +0200)]
playbin: add current-*uri properties

Make the uri property getter return the next uri, like it was configured in the
setter.
Make a new current-uri and current-suburi property that reflects the currently
playing uri and suburi.

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

12 years agoaudio: Fix DTS IEC61937 payloading
Arun Raghavan [Fri, 25 May 2012 10:27:45 +0000 (15:57 +0530)]
audio: Fix DTS IEC61937 payloading

DTS type I-III specify the burst length in bits. Only type IV (which we
do not currently support) needs it to be specified in bytes. Thanks to
Julien Moutte for pointing this out.

12 years agoplaybin: fix compilation
Wim Taymans [Thu, 24 May 2012 11:43:06 +0000 (13:43 +0200)]
playbin: fix compilation

12 years agocdparanoia: always set the read_speed
Wim Taymans [Thu, 24 May 2012 11:28:33 +0000 (13:28 +0200)]
cdparanoia: always set the read_speed

Always set the read speed to the configured value. Clarify that 0 or -1
speed means full speed.

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

12 years agoAutomatic update of common submodule
Sebastian Dröge [Thu, 24 May 2012 10:31:34 +0000 (12:31 +0200)]
Automatic update of common submodule

From dc70203 to 3429ba6

12 years agoplaybin2: Put sinks before the other element factories in the autoplug factory list
Sebastian Dröge [Wed, 23 May 2012 14:34:37 +0000 (16:34 +0200)]
playbin2: Put sinks before the other element factories in the autoplug factory list

This makes sure that we always prefer sinks that support a format without
decoding, independant of its rank. Previously we only sorted by rank.

Conflicts:

gst/playback/gstplaybin2.c

12 years agotheoradec: remove usless checking of return val.
Sreerenj Balachandran [Mon, 21 May 2012 10:34:02 +0000 (13:34 +0300)]
theoradec: remove usless checking of return val.

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

12 years agovideo: Fix printf format warnings on mingw-w64
Raimo Järvi [Sun, 20 May 2012 20:27:42 +0000 (23:27 +0300)]
video: Fix printf format warnings on mingw-w64

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

12 years agoFix bug where debug category was declared inside a function
Sebastian Rasmussen [Wed, 23 May 2012 14:09:37 +0000 (16:09 +0200)]
Fix bug where debug category was declared inside a function

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

12 years agovideodecoder: improve doc
Sreerenj Balachandran [Tue, 22 May 2012 13:49:58 +0000 (16:49 +0300)]
videodecoder: improve doc

12 years agotheoradec: remove the nonuse parameter from handle_type_packet() method
Sreerenj Balachandran [Tue, 22 May 2012 22:49:49 +0000 (01:49 +0300)]
theoradec: remove the nonuse parameter from handle_type_packet() method

12 years agovideoutils: improve doc
Sreerenj Balachandran [Tue, 22 May 2012 12:24:36 +0000 (15:24 +0300)]
videoutils: improve doc

12 years agotheoradec: stream is marking as non-packeized so that the data gets parsed and keyfra...
Sreerenj Balachandran [Tue, 22 May 2012 12:17:37 +0000 (15:17 +0300)]
theoradec: stream is marking as non-packeized so that the data gets parsed and keyframes marked

12 years agowin32: Update defs file
Edward Hervey [Tue, 22 May 2012 11:52:28 +0000 (13:52 +0200)]
win32: Update defs file

12 years agoplayback: Fix compilation with the GDK Quartz backend
Andoni Morales Alastruey [Mon, 21 May 2012 11:14:32 +0000 (13:14 +0200)]
playback: Fix compilation with the GDK Quartz backend

12 years agoplayback-test: remove not needed state-change
Stefan Sauer [Mon, 21 May 2012 06:01:09 +0000 (08:01 +0200)]
playback-test: remove not needed state-change

We go back to paused if needed (scrubbing in paused) in stop_seek().

12 years agodiscoverer: Put back accidentially deleted line
Sebastian Dröge [Mon, 21 May 2012 08:08:33 +0000 (10:08 +0200)]
discoverer: Put back accidentially deleted line

12 years agodiscoverer: Add TOC support to discoverer and add -c/--toc parameters to gst-discover...
Anton Belka [Sun, 20 May 2012 23:01:17 +0000 (02:01 +0300)]
discoverer: Add TOC support to discoverer and add -c/--toc parameters to gst-discoverer utility

12 years agoencodebin: don't access GstElementFactory structure directly
Tim-Philipp Müller [Sat, 19 May 2012 14:17:18 +0000 (15:17 +0100)]
encodebin: don't access GstElementFactory structure directly

12 years agoxvimagesink: remove unused assignment
Sreerenj Balachandran [Tue, 15 May 2012 13:09:05 +0000 (16:09 +0300)]
xvimagesink: remove unused assignment

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

12 years agotests/icles: fix type of format field in 0.11 video caps
Sreerenj Balachandran [Wed, 16 May 2012 09:25:09 +0000 (12:25 +0300)]
tests/icles: fix type of format field in 0.11 video caps

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

12 years agoalsasink: check for spdif support only in the current device
Andoni Morales Alastruey [Tue, 15 May 2012 17:21:15 +0000 (19:21 +0200)]
alsasink: check for spdif support only in the current device

12 years agortsp: unref sockets in _close
Wim Taymans [Fri, 18 May 2012 07:20:54 +0000 (09:20 +0200)]
rtsp: unref sockets in _close

When closing the connection, unref the currently used sockets. This should close
them when not in use. We need to do this because else we cannot reconnect
anymore after a close, the connect function requires that the sockets are NULL.

12 years agortsp: clear the GError for pending connect
Wim Taymans [Fri, 18 May 2012 07:18:29 +0000 (09:18 +0200)]
rtsp: clear the GError for pending connect

Clear the GError after g_socket_connect tells us that the connection is pending.
If we don't do this, glib complains when we try to reuse the non-NULL GError
variable a little below.