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.
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.
Wim Taymans [Wed, 6 Jun 2012 08:21:55 +0000 (10:21 +0200)]
video: add macro for component depth
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.
Edward Hervey [Tue, 5 Jun 2012 10:27:09 +0000 (12:27 +0200)]
pbutils: Add descriptor for E-AC3 and PGS subtitles
Tim-Philipp Müller [Tue, 5 Jun 2012 15:09:56 +0000 (16:09 +0100)]
win32: update .def file for new video API
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
Wim Taymans [Mon, 4 Jun 2012 18:36:10 +0000 (20:36 +0200)]
videoconvert: refactor matrix setup
Wim Taymans [Mon, 4 Jun 2012 16:24:03 +0000 (18:24 +0200)]
video: don't add unknown colorimetry
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.
Wim Taymans [Mon, 4 Jun 2012 16:08:11 +0000 (18:08 +0200)]
video: add unknown colorimetry parameters as well..
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.
Wim Taymans [Mon, 4 Jun 2012 14:15:25 +0000 (16:15 +0200)]
video: (de)serialize colorimetry on caps
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.
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.
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
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.
Wim Taymans [Mon, 4 Jun 2012 08:08:59 +0000 (10:08 +0200)]
video: add generic film primaries
Sebastian Dröge [Mon, 4 Jun 2012 11:07:36 +0000 (13:07 +0200)]
video: Fix build of unit test
Sebastian Dröge [Mon, 4 Jun 2012 11:04:00 +0000 (13:04 +0200)]
win32: Update exported symbols 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
Matej Knopp [Sat, 2 Jun 2012 13:34:15 +0000 (09:34 -0400)]
videodecoder: Do not unref frame if not in the list
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.
Sebastian Dröge [Mon, 4 Jun 2012 07:56:30 +0000 (09:56 +0200)]
audiodecoder: Return setcaps return value instead of always TRUE
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
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
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.
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.
Tim-Philipp Müller [Fri, 1 Jun 2012 09:02:02 +0000 (10:02 +0100)]
video: update disted orc backup files for recent changes
Edward Hervey [Fri, 1 Jun 2012 08:28:41 +0000 (10:28 +0200)]
Automatic update of common submodule
From
f1b5a96 to
1fab359
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
Thiago Santos [Thu, 31 May 2012 21:28:14 +0000 (18:28 -0300)]
theoraenc: fix printf format variable
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
Sebastian Dröge [Thu, 31 May 2012 11:08:04 +0000 (13:08 +0200)]
Automatic update of common submodule
From
92b7266 to
f1b5a96
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
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
Wim Taymans [Wed, 30 May 2012 14:51:16 +0000 (16:51 +0200)]
videotestsrc: enable more formats
Sebastian Dröge [Wed, 30 May 2012 11:07:57 +0000 (13:07 +0200)]
video: And fix the build of the ORC sources
Sebastian Dröge [Wed, 30 May 2012 11:06:11 +0000 (13:06 +0200)]
video: Fix generation of orc sources
Sebastian Dröge [Wed, 30 May 2012 10:45:09 +0000 (12:45 +0200)]
Automatic update of common submodule
From
ec1c4a8 to
92b7266
Sebastian Dröge [Wed, 30 May 2012 09:23:23 +0000 (11:23 +0200)]
Automatic update of common submodule
From
3429ba6 to
ec1c4a8
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_
Wim Taymans [Wed, 30 May 2012 07:21:46 +0000 (09:21 +0200)]
video: add support for premultiplied alpha
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.
Wim Taymans [Tue, 29 May 2012 15:47:54 +0000 (17:47 +0200)]
video: update for removed formats
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
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
Wim Taymans [Tue, 29 May 2012 13:20:08 +0000 (15:20 +0200)]
video: rename orc function names
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.
Wim Taymans [Tue, 29 May 2012 08:45:23 +0000 (10:45 +0200)]
videoconvert: remove unused functions
Wim Taymans [Tue, 29 May 2012 08:44:59 +0000 (10:44 +0200)]
video-blend: remove unused defines
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
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.
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.
Wim Taymans [Tue, 29 May 2012 07:52:40 +0000 (09:52 +0200)]
video: add padding
Wim Taymans [Mon, 28 May 2012 15:11:46 +0000 (17:11 +0200)]
video: fix UYVP packing function
Wim Taymans [Mon, 28 May 2012 14:30:56 +0000 (16:30 +0200)]
videoconvert: fix v216
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.
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
Wim Taymans [Mon, 28 May 2012 14:13:42 +0000 (16:13 +0200)]
docs: update v216 format
Fix the v216 format description
Wim Taymans [Mon, 28 May 2012 12:58:52 +0000 (14:58 +0200)]
videotestsrc: fix AYUV64 format string
Wim Taymans [Mon, 28 May 2012 12:49:52 +0000 (14:49 +0200)]
docs: update video formats document
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
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.
Tim-Philipp Müller [Sat, 26 May 2012 18:56:48 +0000 (19:56 +0100)]
tests: 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
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.
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
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
Edward Hervey [Fri, 25 May 2012 14:05:29 +0000 (16:05 +0200)]
check: Update video test for GST_VIDEO_FORMAT_ENCODED
Edward Hervey [Fri, 25 May 2012 14:05:06 +0000 (16:05 +0200)]
tests: Update ABI libs structure
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
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.
Wim Taymans [Thu, 24 May 2012 11:43:06 +0000 (13:43 +0200)]
playbin: fix compilation
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
Sebastian Dröge [Thu, 24 May 2012 10:31:34 +0000 (12:31 +0200)]
Automatic update of common submodule
From
dc70203 to
3429ba6
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
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
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
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
Sreerenj Balachandran [Tue, 22 May 2012 13:49:58 +0000 (16:49 +0300)]
videodecoder: improve doc
Sreerenj Balachandran [Tue, 22 May 2012 22:49:49 +0000 (01:49 +0300)]
theoradec: remove the nonuse parameter from handle_type_packet() method
Sreerenj Balachandran [Tue, 22 May 2012 12:24:36 +0000 (15:24 +0300)]
videoutils: improve doc
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
Edward Hervey [Tue, 22 May 2012 11:52:28 +0000 (13:52 +0200)]
win32: Update defs file
Andoni Morales Alastruey [Mon, 21 May 2012 11:14:32 +0000 (13:14 +0200)]
playback: Fix compilation with the GDK Quartz backend
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().
Sebastian Dröge [Mon, 21 May 2012 08:08:33 +0000 (10:08 +0200)]
discoverer: Put back accidentially deleted line
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
Tim-Philipp Müller [Sat, 19 May 2012 14:17:18 +0000 (15:17 +0100)]
encodebin: don't access GstElementFactory structure directly
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
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
Andoni Morales Alastruey [Tue, 15 May 2012 17:21:15 +0000 (19:21 +0200)]
alsasink: check for spdif support only in the current device
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.
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.
Tim-Philipp Müller [Thu, 17 May 2012 21:06:45 +0000 (22:06 +0100)]
appsrc: simplify get_property for "caps" property
Tim-Philipp Müller [Thu, 17 May 2012 21:04:24 +0000 (22:04 +0100)]
appsrc: remove filter argument from gst_app_src_get_caps()
Was presumably added by mistaken in the grand _get_caps()
conversion. Doesn't really make sense for a property accessor.
Tim-Philipp Müller [Thu, 17 May 2012 15:38:58 +0000 (16:38 +0100)]
cdparanoiasrc: include stdio.h for SEEK_SET
https://bugzilla.gnome.org/show_bug.cgi?id=676255
Tim-Philipp Müller [Wed, 16 May 2012 14:10:41 +0000 (15:10 +0100)]
vorbis: give libvorbis-based decoder and vorbisidec decoder different type names
Should fix "cannot register existing type `GstVorbisDec'" criticals
when both libvorbis and vorbisidec are available.
https://bugzilla.gnome.org/show_bug.cgi?id=673333
Sebastian Dröge [Wed, 16 May 2012 11:46:57 +0000 (13:46 +0200)]
video: Rename gst_video_codec_frame_set_hook() to gst_video_codec_frame_set_user_data()
And also add a getter and allow to set NULL user_data but still call
the passed destroy notify.