platform/upstream/gstreamer.git
12 years agoappsrc: Actually store any URI that is set and return this when asked for the URI
Sebastian Dröge [Thu, 21 Jun 2012 10:12:11 +0000 (11:12 +0100)]
appsrc: Actually store any URI that is set and return this when asked for the URI

12 years agoupdate for bus api changes
Wim Taymans [Wed, 20 Jun 2012 10:30:36 +0000 (12:30 +0200)]
update for bus api changes

12 years agofix compiler warning
Andreas Frisch [Wed, 20 Jun 2012 08:52:34 +0000 (10:52 +0200)]
fix compiler warning

12 years agoplaysinkconvertbin: Fix conversion bin when sink has both raw and non-raw caps
Arnaud Vrac [Wed, 20 Jun 2012 10:11:47 +0000 (11:11 +0100)]
playsinkconvertbin: Fix conversion bin when sink has both raw and non-raw caps

Fixes bug #678403.

12 years agoupdate for task api change
Wim Taymans [Wed, 20 Jun 2012 08:33:24 +0000 (10:33 +0200)]
update for task api change

12 years agovideodecoder: Don't give out bogus frame deadlines
Jan Schmidt [Tue, 19 Jun 2012 17:45:14 +0000 (03:45 +1000)]
videodecoder: Don't give out bogus frame deadlines

Make sure the frame deadline was set before calculating the
max_decode_time. Fixes problems with ffmpeg skipping frames when
it doesn't need to, when the input doesn't have full timestamping
(divx in avi)

12 years agovideodecoder: Remove gst_video_decoder_get_timestamp function
Jan Schmidt [Tue, 19 Jun 2012 17:40:29 +0000 (03:40 +1000)]
videodecoder: Remove gst_video_decoder_get_timestamp function

Interpolating the timestamps from the picture numbers
does more harm than good, getting it wrong in a lot of
cases (especially reverse playback). Removing it in favour
of simply incrementing the timestamps until there's
something better

12 years agovideodecoder: EOS handling for reverse mode.
Jan Schmidt [Tue, 19 Jun 2012 14:46:05 +0000 (00:46 +1000)]
videodecoder: EOS handling for reverse mode.

Handle EOS correctly in reverse mode by treating it
as a final discont and flushing out whatever we can.

12 years agovideodecoder: misc improvements/changes
Jan Schmidt [Tue, 19 Jun 2012 14:42:42 +0000 (00:42 +1000)]
videodecoder: misc improvements/changes

Use g_list_free_full instead of walking lists twice when freeing
them.

Remove pointless clause in gst_video_decoder_chain that doesn't
actually have any effect.

Other changes to make the code slightly more like the 0.11
version.

12 years agovideodecoder: Improve timestamp handling.
Jan Schmidt [Tue, 19 Jun 2012 14:36:38 +0000 (00:36 +1000)]
videodecoder: Improve timestamp handling.

Fix problems with timestamp calculations when the incoming
buffers have sparse timestamps (as for theora) and reverse
playback. Fixes #675773

12 years agovideodecoder: Re-work reverse playback handling
Jan Schmidt [Tue, 19 Jun 2012 14:22:25 +0000 (00:22 +1000)]
videodecoder: Re-work reverse playback handling

Move processing of the gather list into the flush_parse function.

Add a last ditch attempt to apply timestamps to outgoing buffers
when walking backwards through decoded frames. Requires that each
gathered region has at least one timestamp.

Make sure to remove decoded packets from the decode list when
they are sent - otherwise the list just grows on each cycle, with
more and more frames being decoded and then clipped away.

Break out of the processing loop early on a bad flow return to make
seeking more responsive.

Use the gst_video_decoder_clip_and_push_buf function in reverse
mode, instead of pushing all buffers arbitrarily.

A couple of small efficiency gains in the list handling, by moving
list elements directly and not reallocating, and by reversing
and concatenating the gather list instead of moving it one node
at a time.

Rename the gst_video_decoder_do_finish_frame function to
gst_video_decoder_release_frame.

12 years agovideodecoder: Split gst_video_decoder_finish_frame
Jan Schmidt [Tue, 19 Jun 2012 14:08:57 +0000 (00:08 +1000)]
videodecoder: Split gst_video_decoder_finish_frame

Split the 2nd half of the gst_video_decoder_finish_frame function
out to gst_video_decoder_clip_and_push_buf.

12 years agovideodecoder: Rename queued list to output_queued for clarity.
Jan Schmidt [Tue, 19 Jun 2012 13:46:44 +0000 (23:46 +1000)]
videodecoder: Rename queued list to output_queued for clarity.

Use g_list_free_full instead of g_list_foreach + g_list_free

12 years agovideodecoder: Small cleanups
Jan Schmidt [Tue, 19 Jun 2012 13:43:27 +0000 (23:43 +1000)]
videodecoder: Small cleanups

Remove extra deref using a local var, and add/change some doc comments
and debug statements

12 years agovideodecoder: Rename gst_video_decoder_have_frame_2 function
Jan Schmidt [Tue, 19 Jun 2012 13:28:08 +0000 (23:28 +1000)]
videodecoder: Rename gst_video_decoder_have_frame_2 function

Rename gst_video_decoder_have_frame_2 to
gst_video_decoder_decode_frame and pass the frame to process
directly, rather than using the current_frame pointer as a holding
pen.

Move the negative rate handling out of the function to where it
is needed, and remove the process flag.

12 years agovideodecoder: Extend docs and add comments
Jan Schmidt [Tue, 19 Jun 2012 13:16:12 +0000 (23:16 +1000)]
videodecoder: Extend docs and add comments

Update the documentation block for the base class, and add a comment
block about the reverse-playback logic and implementation.

12 years agovideofilter: Don't duplicate code to create a new buffer pool if none is in the query
Sebastian Dröge [Tue, 19 Jun 2012 12:57:00 +0000 (13:57 +0100)]
videofilter: Don't duplicate code to create a new buffer pool if none is in the query

12 years agovideoencoder: Ensure buffers don't disappear early
Sebastian Dröge [Tue, 19 Jun 2012 08:34:49 +0000 (09:34 +0100)]
videoencoder: Ensure buffers don't disappear early

The frames are the owners of the buffers

12 years agovideodecoder: Ensure buffers don't disappear early
Edward Hervey [Thu, 26 Apr 2012 16:43:16 +0000 (18:43 +0200)]
videodecoder: Ensure buffers don't disappear early

The frames are the owners of the buffers. In cases where a decoder
would keep around reference frames, we need to ensure they don't
disappear early.
To handle this, we pass downstream a complete sub-buffer of the output
buffer, ensuring that the buffer will only be released when downstream
is done with it *AND* the frame is no longer used.

Conflicts:

gst-libs/gst/video/gstvideodecoder.c

12 years agovideoencoder,videodecoder: Return new references from _get_frame()
Sebastian Dröge [Tue, 19 Jun 2012 08:25:00 +0000 (09:25 +0100)]
videoencoder,videodecoder: Return new references from _get_frame()

12 years agosys: fix some bufferpool leaks
Wim Taymans [Mon, 18 Jun 2012 10:17:12 +0000 (12:17 +0200)]
sys: fix some bufferpool leaks

12 years agoaudiobasesink: fix for basesink API change
Wim Taymans [Mon, 18 Jun 2012 09:38:02 +0000 (11:38 +0200)]
audiobasesink: fix for basesink API change

12 years agotheoradec: Remove use of NEED_DATA
Jan Schmidt [Thu, 14 Jun 2012 13:24:06 +0000 (23:24 +1000)]
theoradec: Remove use of NEED_DATA

Remove the confusing internal-only use of
the GST_VIDEO_DECODER_FLOW_NEED_DATA return code.

12 years agox11: handle case where no bufferpool is suggested
Wim Taymans [Fri, 15 Jun 2012 14:43:47 +0000 (16:43 +0200)]
x11: handle case where no bufferpool is suggested

12 years agovideodecoder: Add GstVideoDecoder::propose_allocation() vfunc
Sebastian Dröge [Fri, 15 Jun 2012 14:06:12 +0000 (16:06 +0200)]
videodecoder: Add GstVideoDecoder::propose_allocation() vfunc

12 years agoexamples: make play button in playback test have focus after startup
Tim-Philipp Müller [Thu, 14 Jun 2012 22:08:54 +0000 (23:08 +0100)]
examples: make play button in playback test have focus after startup

So you can just press Enter to start playback.

12 years agooggdemux: fix quadratic search for last page
Vincent Penquerc'h [Thu, 14 Jun 2012 17:31:51 +0000 (18:31 +0100)]
oggdemux: fix quadratic search for last page

A crafted file with invalid pages will cause repeated searches from
earlier offsets in steps of 8500 bytes, but reading till the end of
the stream. Since we know the maximum size of an Ogg page, we can
bound the search for next page, to get a linear behavior (though
still not good enough as it will read the entire file backwards if
there's no valid page till then).

12 years agoplaybin2: Proxy the force-aspect-ratio property of video sinks
Sebastian Dröge [Thu, 14 Jun 2012 07:32:35 +0000 (09:32 +0200)]
playbin2: Proxy the force-aspect-ratio property of video sinks

Fixes bug #678020.

Conflicts:

gst/playback/gstplaybin2.c

12 years agoplaysink: Proxy the force-aspect-ratio property of video sinks
Sebastian Dröge [Thu, 14 Jun 2012 07:29:23 +0000 (09:29 +0200)]
playsink: Proxy the force-aspect-ratio property of video sinks

12 years agoupdate for message api change
Wim Taymans [Wed, 13 Jun 2012 09:04:21 +0000 (11:04 +0200)]
update for message api change

12 years agotheoradec: Always inform base class when dropping frames
Jan Schmidt [Tue, 12 Jun 2012 17:17:27 +0000 (03:17 +1000)]
theoradec: Always inform base class when dropping frames

Partially fixes backwards playback. Informing the base class
of the dropped frame lets it manage the timestamping and events
better.

12 years agovideodecoder: Fix initial timestamp in ogg, and a warning.
Jan Schmidt [Tue, 12 Jun 2012 15:58:05 +0000 (01:58 +1000)]
videodecoder: Fix initial timestamp in ogg, and a warning.

Don't replace the initial frame's timestamp with a bogus
one calculated from the (incorrect for Ogg) frame number just
because the 'sync time' hasn't changed.

Also, don't output a bogus warning about the output_frame being
NULL when it's being dropped/skipped due to QoS.

12 years agoaudio decoder: Add some debug output for bad caps from children
Jan Schmidt [Tue, 12 Jun 2012 13:51:51 +0000 (23:51 +1000)]
audio decoder: Add some debug output for bad caps from children

12 years agoplayback: Always prefer parsers over decoders
Sebastian Dröge [Tue, 12 Jun 2012 09:58:29 +0000 (11:58 +0200)]
playback: Always prefer parsers over decoders

...and in playbin2 additionally prefer sinks over parsers.

This makes sure that we a) always directly plug a sink if it supports
the (compressed) format and b) always plug parsers in front of decoders.

12 years agoplayback-test: expose seek snap flags
Vincent Penquerc'h [Wed, 23 May 2012 14:07:20 +0000 (15:07 +0100)]
playback-test: expose seek snap flags

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

12 years agoaudiodecoder: push queued events only when we have a first buffer
Vincent Penquerc'h [Fri, 8 Jun 2012 11:43:41 +0000 (12:43 +0100)]
audiodecoder: push queued events only when we have a first buffer

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

12 years agotypefind: probe for DVD ISO files, to avoid matching H.264
Vincent Penquerc'h [Mon, 11 Jun 2012 10:09:24 +0000 (11:09 +0100)]
typefind: probe for DVD ISO files, to avoid matching H.264

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

12 years agoplaybin2: remove uridecodebin from bin when it fails to switch to PAUSED
Vincent Penquerc'h [Fri, 8 Jun 2012 16:28:28 +0000 (17:28 +0100)]
playbin2: remove uridecodebin from bin when it fails to switch to PAUSED

This avoids that bin being leftover and being found when reusing playbin2,
and fixes restarting on a new URI after failing to activate with a previous
URI.

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

12 years agoAdd generated orc files
Wim Taymans [Fri, 8 Jun 2012 15:55:15 +0000 (17:55 +0200)]
Add generated orc files

12 years agoAlso build the orc generated code
Wim Taymans [Fri, 8 Jun 2012 15:52:31 +0000 (17:52 +0200)]
Also build the orc generated code

12 years agoaudio: add orc enabled pack and unpack functions
Wim Taymans [Fri, 8 Jun 2012 15:48:11 +0000 (17:48 +0200)]
audio: add orc enabled pack and unpack functions

12 years agoaudio: add flag to mark possible unpack formats
Wim Taymans [Fri, 8 Jun 2012 10:26:08 +0000 (12:26 +0200)]
audio: add flag to mark possible unpack formats

Make a new flag to mark formats that can be used in pack and unpack functions.
Mark S32NE and F64NE as those unpack formats

12 years agoelements: Use gst_pad_set_caps() instead of manual event fiddling
Sebastian Dröge [Fri, 8 Jun 2012 13:51:06 +0000 (15:51 +0200)]
elements: Use gst_pad_set_caps() instead of manual event fiddling

12 years agoAutomatic update of common submodule
Edward Hervey [Fri, 8 Jun 2012 13:04:49 +0000 (15:04 +0200)]
Automatic update of common submodule

From 03a0e57 to 98e386f

12 years agovideodecoder: use GST_CLOCK_TIME_IS_VALID where appropriate
Vincent Penquerc'h [Fri, 8 Jun 2012 12:58:51 +0000 (13:58 +0100)]
videodecoder: use GST_CLOCK_TIME_IS_VALID where appropriate

12 years agovideo: mark unpack formats with a flag
Wim Taymans [Fri, 8 Jun 2012 09:49:18 +0000 (11:49 +0200)]
video: mark unpack formats with a flag

Add a new _UNPACK flag and use it to mark potential unpack formats.

12 years agoaudio: Remove unused, generated marshallers
Sebastian Dröge [Fri, 8 Jun 2012 09:28:22 +0000 (11:28 +0200)]
audio: Remove unused, generated marshallers

12 years agovideoconvert: Need $(LIBM) for pow()
Sebastian Dröge [Fri, 8 Jun 2012 09:26:46 +0000 (11:26 +0200)]
videoconvert: Need $(LIBM) for pow()

12 years agoaudio: split audio header into logical parts
Wim Taymans [Fri, 8 Jun 2012 08:10:08 +0000 (10:10 +0200)]
audio: split audio header into logical parts

12 years agovideodecoder: do not do timestamp arithmetic from an invalid timestamp
Vincent Penquerc'h [Thu, 7 Jun 2012 15:50:17 +0000 (16:50 +0100)]
videodecoder: do not do timestamp arithmetic from an invalid timestamp

This fixes untimestampped buffers from being rejected by the segment clipper.

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

12 years agoBack to development
Sebastian Dröge [Thu, 7 Jun 2012 14:07:16 +0000 (16:07 +0200)]
Back to development

12 years agoRelease 0.11.92
Sebastian Dröge [Thu, 7 Jun 2012 14:06:59 +0000 (16:06 +0200)]
Release 0.11.92

12 years agoUpdate .po files
Sebastian Dröge [Thu, 7 Jun 2012 14:04:04 +0000 (16:04 +0200)]
Update .po files

12 years agotheoradec: fix frame leaks
Vincent Penquerc'h [Thu, 7 Jun 2012 12:24:48 +0000 (13:24 +0100)]
theoradec: fix frame leaks

12 years agotheoradec: fix video state leaks
Vincent Penquerc'h [Thu, 7 Jun 2012 10:16:13 +0000 (11:16 +0100)]
theoradec: fix video state leaks

12 years agovideo: fix memory leak
Vincent Penquerc'h [Thu, 7 Jun 2012 10:15:57 +0000 (11:15 +0100)]
video: fix memory leak

12 years agoplaysink: fix compilation
Wim Taymans [Thu, 7 Jun 2012 08:52:53 +0000 (10:52 +0200)]
playsink: fix compilation

12 years agoplaybin2: Send flush events when changing subtitle tracks and use new input-selector...
Andre Moreira Magalhaes (andrunko) [Thu, 24 May 2012 14:02:59 +0000 (11:02 -0300)]
playbin2: Send flush events when changing subtitle tracks and use new input-selector modes for subtitle tracks

For audio/video we should flush too for fastest stream switches but this
currently isn't possible because the flushes would need to go to the sink,
which then causes state changes and causes all timing information to be
changed.

Should work out of the box in 0.11 with the flush-stop that doesn't reset
the times.

Conflicts:

gst/playback/gstplaybin2.c
gst/playback/gstplaysink.c
gst/playback/gstsubtitleoverlay.c

12 years agoplaysink: Don't use // comments and prevent unnecessary memory allocation
Sebastian Dröge [Mon, 21 May 2012 07:06:18 +0000 (09:06 +0200)]
playsink: Don't use // comments and prevent unnecessary memory allocation

Conflicts:

gst/playback/gstplaysink.c

12 years agoplaybin2: Properly change subtitles
Andre Moreira Magalhaes (andrunko) [Sun, 20 May 2012 15:51:17 +0000 (12:51 -0300)]
playbin2: Properly change subtitles

Conflicts:

gst/playback/gstplaysink.c

12 years agoplaybin2: fix subtitle only seeks when switching to external subs
Thiago Santos [Tue, 15 May 2012 15:56:13 +0000 (12:56 -0300)]
playbin2: fix subtitle only seeks when switching to external subs

Sending a non-flushing seek might not be enough for switching
to an external sub that has already been used because the flushes
are needed to reset the state of its decodebin's queue.

For example, if the subtitle is short enough, the queue might get
and EOS and keep its 'unexpected' return state. If the user switches
to another subtitle and back to the external one, the buffers
won't get past the queue.

This patch fixes this by adding the flush flag to the seek and
preventing that this flush leaves the suburidecodebin.

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

Conflicts:

gst/playback/gstplaybin2.c

12 years agogstplaysink: Properly reset chain when receiving a custom flush event.
Andre Moreira Magalhaes (andrunko) [Wed, 16 May 2012 13:41:41 +0000 (10:41 -0300)]
gstplaysink: Properly reset chain when receiving a custom flush event.

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

Conflicts:

gst/playback/gstplaysink.c

12 years agoplaysink: do not store more than a second of subtitles
Thiago Santos [Mon, 14 May 2012 14:52:12 +0000 (11:52 -0300)]
playsink: do not store more than a second of subtitles

Use a shorter queue for subtitles to avoid switches for subtitles
taking longer than they already take.

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

12 years agosubtitleoverlay: pass correct parameter to debug message
Thiago Santos [Tue, 5 Jun 2012 21:12:52 +0000 (18:12 -0300)]
subtitleoverlay: pass correct parameter to debug message

Get the format name to pass to the debug message, as it expects a string

12 years agogstsuboverlay: Convert NewSegment events to always be in the TIME format.
Andre Moreira Magalhaes (andrunko) [Thu, 10 May 2012 15:17:45 +0000 (12:17 -0300)]
gstsuboverlay: Convert NewSegment events to always be in the TIME format.

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

Conflicts:

gst/playback/gstsubtitleoverlay.c

12 years agooggdemux: reject opus streams with negative start time
Vincent Penquerc'h [Wed, 6 Jun 2012 16:42:36 +0000 (17:42 +0100)]
oggdemux: reject opus streams with negative start time

This is used by Vorbis for sample accurate clipping, but this is
deemed an invalid stream by the opus spec.

12 years agooggstream: add a flag to say whether start granule clamping is to be done
Vincent Penquerc'h [Wed, 6 Jun 2012 16:41:55 +0000 (17:41 +0100)]
oggstream: add a flag to say whether start granule clamping is to be done

12 years agoAutomatic update of common submodule
Edward Hervey [Wed, 6 Jun 2012 16:18:29 +0000 (18:18 +0200)]
Automatic update of common submodule

From 1fab359 to 03a0e57

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.