platform/upstream/gstreamer.git
12 years agoFix 'ignoring return value of function declared with const attribute'
Thibault Saunier [Sat, 10 Mar 2012 22:10:52 +0000 (19:10 -0300)]
Fix 'ignoring return value of function declared with const attribute'

This always happens with GstByteReader/Writer and friends when
not taking into account returned boolean of the _read/_write functions
(which is actually wrong).

Make use of the *_unchecked variant as much as possible, or take the
returned value into account.

12 years agodtsdec: avoid runaway loop when resyncing during parse
Mark Nauwelaerts [Sat, 10 Mar 2012 10:36:25 +0000 (11:36 +0100)]
dtsdec: avoid runaway loop when resyncing during parse

... by checking for the correct (decremented) size variable.

Fixes #671756.

12 years agoconfigure: fix AC_LANG_SOURCE-related warnings when doing autogen.sh
Tim-Philipp Müller [Fri, 9 Mar 2012 17:16:24 +0000 (17:16 +0000)]
configure: fix AC_LANG_SOURCE-related warnings when doing autogen.sh

12 years agoFixing rtpvp8 compatibility with the third draft
Danilo Cesar Lemes de Paula [Thu, 1 Mar 2012 17:59:55 +0000 (14:59 -0300)]
Fixing rtpvp8 compatibility with the third draft

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

12 years agoopusenc: only request and process 1 frame at a time
Mark Nauwelaerts [Wed, 7 Mar 2012 11:59:28 +0000 (12:59 +0100)]
opusenc: only request and process 1 frame at a time

... since it is specified in _finish_frame that input buffer may be invalidated
after calling it, and is as such not reliably available for further encoding.

Also, requesting or allowing several frames is only useful if subclass intends
to process these "in 1 run" (as in, 1 output buffer), not for having another
(inner) loop in subclass where the baseclass one will do just fine.

12 years agoopusenc: configure baseclass requested samples really in samples
Mark Nauwelaerts [Wed, 7 Mar 2012 11:55:43 +0000 (12:55 +0100)]
opusenc: configure baseclass requested samples really in samples

... as opposed to bytes.

12 years agovideo: Update/add docs
Edward Hervey [Tue, 6 Mar 2012 17:49:11 +0000 (18:49 +0100)]
video: Update/add docs

12 years agoAdd missing GLIB_DISABLE_DEPRECATION_WARNINGS
Edward Hervey [Tue, 6 Mar 2012 17:11:35 +0000 (18:11 +0100)]
Add missing GLIB_DISABLE_DEPRECATION_WARNINGS

Suppress warnings about deprecated threading and GValueArray
API, so git compiles with -Werror.

12 years agosirendec: port to audiodecoder
Mark Nauwelaerts [Tue, 6 Mar 2012 17:33:25 +0000 (18:33 +0100)]
sirendec: port to audiodecoder

12 years agosirenenc: port to audioencoder
Mark Nauwelaerts [Tue, 6 Mar 2012 17:33:17 +0000 (18:33 +0100)]
sirenenc: port to audioencoder

12 years agoceltdec: use base class tag handling helper
Mark Nauwelaerts [Tue, 6 Mar 2012 15:11:52 +0000 (16:11 +0100)]
celtdec: use base class tag handling helper

... so as to ensure these to be handled and sent at proper time.

12 years agodtsdec: use base class tag handling helper
Mark Nauwelaerts [Tue, 6 Mar 2012 15:11:30 +0000 (16:11 +0100)]
dtsdec: use base class tag handling helper

... so as to ensure these to be handled and sent at proper time.

12 years agodccp: avoid indefinite looping upon error
Mark Nauwelaerts [Tue, 6 Mar 2012 17:32:09 +0000 (18:32 +0100)]
dccp: avoid indefinite looping upon error

... and fix 'uninitialized' compilation warning as well.

12 years agovp8enc: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the...
Sebastian Dröge [Tue, 6 Mar 2012 14:21:17 +0000 (15:21 +0100)]
vp8enc: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the destination' compiler warning

12 years agogsettings: Fix 'if statement has empty body' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:57:45 +0000 (14:57 +0100)]
gsettings: Fix 'if statement has empty body' compiler warning

12 years agodfbvideosink: Fix 'implicit conversion from enumeration type 'DirectResult' to differ...
Sebastian Dröge [Tue, 6 Mar 2012 13:56:20 +0000 (14:56 +0100)]
dfbvideosink: Fix 'implicit conversion from enumeration type 'DirectResult' to different enumeration type 'DFBResult'' compiler warning

We're not checking the return value of that function anyway.

12 years agocurl: Fix 'equality comparison with extraneous parentheses' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:51:57 +0000 (14:51 +0100)]
curl: Fix 'equality comparison with extraneous parentheses' compiler warning

12 years agocogcolorspace: Use correct enum type for return value
Sebastian Dröge [Tue, 6 Mar 2012 13:51:26 +0000 (14:51 +0100)]
cogcolorspace: Use correct enum type for return value

12 years agovdpau: Fix loop to not read before the valid memory area
Sebastian Dröge [Tue, 6 Mar 2012 13:50:06 +0000 (14:50 +0100)]
vdpau: Fix loop to not read before the valid memory area

12 years agoremovesilence: Fix 'argument to 'sizeof' in 'memset' call is the same expression...
Sebastian Dröge [Tue, 6 Mar 2012 13:47:17 +0000 (14:47 +0100)]
removesilence: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the destination' compiler warning

12 years agomxfdemux: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:46:03 +0000 (14:46 +0100)]
mxfdemux: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning

12 years agompegtsparse: Fix 'variable 'pid' is uninitialized when used here' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:44:25 +0000 (14:44 +0100)]
mpegtsparse: Fix 'variable 'pid' is uninitialized when used here' compiler warning

12 years agompegdemux: Fix 'expression result unused' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:43:29 +0000 (14:43 +0100)]
mpegdemux: Fix 'expression result unused' compiler warning

12 years agodccp: Fix 'comparison of unsigned expression < 0 is always false' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:41:00 +0000 (14:41 +0100)]
dccp: Fix 'comparison of unsigned expression < 0 is always false' compiler warning

12 years agobaseaudiovisualizer: Fix 'comparison of unsigned expression >= 0 is always true'...
Sebastian Dröge [Tue, 6 Mar 2012 13:38:47 +0000 (14:38 +0100)]
baseaudiovisualizer: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning

12 years agompegtspacketizer: Handle rollover in offset calculations
Edward Hervey [Mon, 5 Mar 2012 11:46:13 +0000 (12:46 +0100)]
mpegtspacketizer: Handle rollover in offset calculations

12 years agotsdemux: printf fix
Edward Hervey [Mon, 5 Mar 2012 10:27:51 +0000 (11:27 +0100)]
tsdemux: printf fix

12 years agotsdemux: Update TODO
Edward Hervey [Mon, 5 Mar 2012 09:14:46 +0000 (10:14 +0100)]
tsdemux: Update TODO

12 years agompegts: Switch rank of mpegtsdemux and tsdemux
Edward Hervey [Mon, 5 Mar 2012 08:46:17 +0000 (09:46 +0100)]
mpegts: Switch rank of mpegtsdemux and tsdemux

More effort has been put lately in tsdemux and works in more use cases

12 years agotsdemux: Push packets as early as possible
Edward Hervey [Mon, 5 Mar 2012 08:38:57 +0000 (09:38 +0100)]
tsdemux: Push packets as early as possible

When the PES header tells us how big the outgoing packet is, push the
packet downstream as soon as we have the specified size instead of waiting
for the beginning of the next packet.
Reduces latency and removes issues with very sparse streams (like subtitles
and subpictures).

12 years agoshm: add minimal doc blobs
Stefan Sauer [Sun, 4 Mar 2012 20:54:08 +0000 (21:54 +0100)]
shm: add minimal doc blobs

12 years agowaylandsink: Fix in shell_surface_set_fullscreen
Sreerenj Balachandran [Tue, 28 Feb 2012 19:00:24 +0000 (21:00 +0200)]
waylandsink: Fix in shell_surface_set_fullscreen

12 years agowaylandsink: More fixes -- update to Wayland 0.85 protocol -- Added shell surface...
Sreerenj Balachandran [Thu, 16 Feb 2012 20:27:23 +0000 (22:27 +0200)]
waylandsink: More fixes -- update to Wayland 0.85 protocol -- Added shell surface -- Added format query for shm format -- Create the window based on width and height of video extracted from upstream caps.

12 years agoUpdate with new APIs in wayland-client.
Sreerenj Balachandran [Wed, 2 Nov 2011 14:23:02 +0000 (16:23 +0200)]
Update with new APIs in wayland-client.

12 years agoMore Fixes: * Adding buffer_alloc * perform buffer_damage before surface_attach ...
Sreerenj Balachandran [Wed, 2 Nov 2011 11:51:13 +0000 (13:51 +0200)]
More Fixes: * Adding buffer_alloc * perform buffer_damage before surface_attach * Fix typo, Remove Dead code etc.

12 years agoInitial Commit: Adding Wayland Video Sink
Sreerenj Balachandran [Wed, 2 Nov 2011 09:02:11 +0000 (11:02 +0200)]
Initial Commit: Adding Wayland Video Sink

12 years agoresindvd: send duration message on duration updates
Stefan Sauer [Tue, 13 Dec 2011 22:43:59 +0000 (23:43 +0100)]
resindvd: send duration message on duration updates

When we know a new duration, report it. Add more logging.

12 years agoaudiovisualizers: planning + example update
Stefan Sauer [Tue, 13 Dec 2011 09:26:50 +0000 (10:26 +0100)]
audiovisualizers: planning + example update

12 years agod3dvideosink: fix compiler warnings and build failure with mingw
Руслан Ижбулатов [Fri, 2 Mar 2012 17:41:39 +0000 (21:41 +0400)]
d3dvideosink: fix compiler warnings and build failure with mingw

shared.d3ddev was removed a while back, not sure how this still
compiles for anyone (tpm).

https://bugzilla.gnome.org/show_bug.cgi?id=653718
https://bugzilla.gnome.org/show_bug.cgi?id=670143
https://bugzilla.gnome.org/show_bug.cgi?id=656905

12 years agoconfigure: use AS_LIBTOOL and bump version for ABI change in h.264 codec parser
Tim-Philipp Müller [Sat, 3 Mar 2012 15:57:11 +0000 (15:57 +0000)]
configure: use AS_LIBTOOL and bump version for ABI change in h.264 codec parser

Backported from the 0.10 release branch, where v.23 was used.

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

12 years agocodecparsers: h264: record number of emulation prevention bytes in slice_header().
Gwenole Beauchesne [Fri, 2 Mar 2012 10:45:41 +0000 (11:45 +0100)]
codecparsers: h264: record number of emulation prevention bytes in slice_header().

Some hardware video decode acceleration API (VA-API, DXVA) require
a bit count to the first macroblock, minus the number of emulation
prevention bytes. So, instead of having the consumer of the library
scan the slice_header() again, just record that number while parsing.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=671203

12 years agotsdemux: fix confusing variable name
Tim-Philipp Müller [Sat, 3 Mar 2012 15:47:01 +0000 (15:47 +0000)]
tsdemux: fix confusing variable name

12 years agotsdemux: Fix segment start position
Edward Hervey [Fri, 2 Mar 2012 16:11:33 +0000 (17:11 +0100)]
tsdemux: Fix segment start position

If we *really* can't figure out the first start position, that most
likely means the data to push out doesn't have any timestamp.
Use a default value of 0 then

12 years agompegtsbase: Flush out the packetizer on flushing seeks
Edward Hervey [Fri, 2 Mar 2012 16:10:28 +0000 (17:10 +0100)]
mpegtsbase: Flush out the packetizer on flushing seeks

... else we end up with bogus data/offsets

12 years agotsdemux: Activate pads only when receiving data for the stream
Thibault Saunier [Wed, 29 Feb 2012 14:14:15 +0000 (11:14 -0300)]
tsdemux: Activate pads only when receiving data for the stream

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

12 years agod3dvideosink: add missing directx headers
Andoni Morales Alastruey [Fri, 2 Mar 2012 14:37:57 +0000 (15:37 +0100)]
d3dvideosink: add missing directx headers

12 years agompegvideoparse: Fix level code
Edward Hervey [Fri, 2 Mar 2012 10:07:47 +0000 (11:07 +0100)]
mpegvideoparse: Fix level code

Valid ranges            are from 4 to 10
Valid ranges >> 1       are from 2 to 5
Valid ranges >> 1 - 2   are from 0 to 3

 (and not from 1 to 4)

12 years agompegtsbase: Check harder for program changes
Edward Hervey [Fri, 2 Mar 2012 09:54:48 +0000 (10:54 +0100)]
mpegtsbase: Check harder for program changes

And don't just rely on the section crc/version_number changing to
indicate that the program actually changed.

12 years agovdpau: relicense four source files from GPL3+ to LGPL2+
Tim-Philipp Müller [Thu, 1 Mar 2012 18:46:51 +0000 (18:46 +0000)]
vdpau: relicense four source files from GPL3+ to LGPL2+

These source files were mistakenly licensed as GPL3, the
author (Carl-Anton Ingmarsson) has given permission to
relicense them to LGPL2+.

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

12 years agompegtsbase/tsdemux: Refactor seek and segment handling
Edward Hervey [Thu, 1 Mar 2012 17:05:17 +0000 (18:05 +0100)]
mpegtsbase/tsdemux: Refactor seek and segment handling

All calculations go through the mpegtspacketizer
Remove unused variables/code

12 years agompegtsbase: Error out on EOS without any pad
Edward Hervey [Thu, 1 Mar 2012 16:59:57 +0000 (17:59 +0100)]
mpegtsbase: Error out on EOS without any pad

Avoids ending up with hanging pipelines

12 years agompegtspacketizer: Offset calculation
Edward Hervey [Thu, 1 Mar 2012 16:56:34 +0000 (17:56 +0100)]
mpegtspacketizer: Offset calculation

Allows PCR<=>PTS<=>offset estimation/calculation
Right now the calculation is very naive, but can be extended later on
without disrupting the code in tsdemux/mpegtsbase

12 years agompegtspacketizer: clock fix and minor addition
Edward Hervey [Thu, 1 Mar 2012 16:53:41 +0000 (17:53 +0100)]
mpegtspacketizer: clock fix and minor addition

* Don't take into account packets that arrived at the same time as
  previous ones for clock skew estimation
* Add convenience method for processing the next ts packet

12 years agoRevert "mpegtsdemux: Not apply various time the same PMT to a program when repetead"
Edward Hervey [Wed, 29 Feb 2012 17:19:23 +0000 (18:19 +0100)]
Revert "mpegtsdemux: Not apply various time the same PMT to a program when repetead"

This reverts commit 8cb0e87f5623836ddc361eb91dcf9b50b48048e7.

mpegtspacketizer already checks if it's a new PMT or not

12 years agotsdemux: Remove all seeking code
Edward Hervey [Wed, 29 Feb 2012 09:33:00 +0000 (10:33 +0100)]
tsdemux: Remove all seeking code

It was more than bogus

12 years agohlsdemux: don't set the fetcher's location twice
Xavier Queralt [Tue, 14 Feb 2012 10:57:00 +0000 (11:57 +0100)]
hlsdemux: don't set the fetcher's location twice

Calling gst_element_make_from_uri already does it and filesrc
fails when using file protocol in a location

12 years agoAdd missing GLIB_DISABLE_DEPRECATION_WARNINGS
Guillaume Desmottes [Tue, 28 Feb 2012 15:27:55 +0000 (16:27 +0100)]
Add missing GLIB_DISABLE_DEPRECATION_WARNINGS

Suppress warnings about deprecated threading and GValueArray
API, so git compiles with -Werror.

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

12 years agohlsdemux: don't fail for playlists smaller than fragments-cache
Xavier Queralt [Fri, 24 Feb 2012 08:54:35 +0000 (09:54 +0100)]
hlsdemux: don't fail for playlists smaller than fragments-cache

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

12 years agompegtspacketizer: catch section lengths extending past the buffer length
Thibault Saunier [Mon, 27 Feb 2012 12:45:29 +0000 (09:45 -0300)]
mpegtspacketizer: catch section lengths extending past the buffer length

This is probably the cause for an occasional crash while streaming
MPEG. Blind fix after staring at the code and following logic, so
may or may not fix the issue, I cannot test.

(Port of 4275a70cb55d375afa702917f7359ec117ed49d4 from mpegdemux)

12 years ago mpegtspacketizer: support more character set encodings
Thibault Saunier [Mon, 27 Feb 2012 12:42:27 +0000 (09:42 -0300)]
 mpegtspacketizer: support more character set encodings

Support UTF-16BE, EUC-KR (KSX1001), GB2312 and ISO-10646/UTF8 text
encoding and fixed new line for multibyte encoding

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

(Port of 9759d66407f2be8ec29975b0eff3230bb1dae0ef from the mpegtsdemux
element)

12 years agotsbase: Fix parsing of PSI table IDs
Thibault Saunier [Fri, 24 Feb 2012 22:08:40 +0000 (19:08 -0300)]
tsbase: Fix parsing of PSI table IDs

(Ported from mpegtsdemux d8fd874f5290e4911437120057ee885cdb68b4af)

12 years agotsdemux: Avoid unlinkely leaks and segfault
Thibault Saunier [Fri, 24 Feb 2012 18:26:21 +0000 (15:26 -0300)]
tsdemux: Avoid unlinkely leaks and segfault

12 years agotsdemux: Use new clock skew estimation for outgoing timestamps
Edward Hervey [Fri, 24 Feb 2012 16:53:52 +0000 (17:53 +0100)]
tsdemux: Use new clock skew estimation for outgoing timestamps

Only used in live mode

12 years agotsdemux: Various code cleanup and dead code removal
Edward Hervey [Fri, 24 Feb 2012 16:52:33 +0000 (17:52 +0100)]
tsdemux: Various code cleanup and dead code removal

12 years agompegtspacketizer: Fix issues with skew code
Edward Hervey [Fri, 24 Feb 2012 16:47:38 +0000 (17:47 +0100)]
mpegtspacketizer: Fix issues with skew code

* Always try to get a timestamp for the algorithm
* Remove dead variable
* Return proper default value

12 years agodvbsrc: Timestamp output by default
Edward Hervey [Fri, 24 Feb 2012 16:07:43 +0000 (17:07 +0100)]
dvbsrc: Timestamp output by default

Allows downstream elements (like demuxers or parsers) to do remote
clock rate/skew estimation.

12 years agompegtspacketizer: Estimate clock skew and retimestamps buffers more precisly
Thibault Saunier [Thu, 23 Feb 2012 17:46:09 +0000 (14:46 -0300)]
mpegtspacketizer: Estimate clock skew and retimestamps buffers more precisly

Apply the EPTLA algotithm to estimate clock skew.
Reusing code from  -good/gst/rtpmanager/rtpjitterbuffer.c

12 years agotsdemux: Clean up AAC caps mess
Thibault Saunier [Tue, 21 Feb 2012 14:12:53 +0000 (11:12 -0300)]
tsdemux: Clean up AAC caps mess

12 years agotsdemux: Reindent gstmpegdesc.h
Thibault Saunier [Mon, 20 Feb 2012 20:47:11 +0000 (17:47 -0300)]
tsdemux: Reindent gstmpegdesc.h

12 years agotsdemux: Support more DTS/AC3 descriptors
Thibault Saunier [Mon, 20 Feb 2012 20:32:21 +0000 (17:32 -0300)]
tsdemux: Support more DTS/AC3 descriptors

12 years agotsdemux: Remove useless finalize()
Edward Hervey [Thu, 23 Feb 2012 17:17:50 +0000 (18:17 +0100)]
tsdemux: Remove useless finalize()

12 years agofaad: fixup nasty typo breaking compilation
Mark Nauwelaerts [Thu, 23 Feb 2012 21:04:24 +0000 (22:04 +0100)]
faad: fixup nasty typo breaking compilation

12 years agoh264parse: consider nal_length_size when constructing codec_data
Mark Nauwelaerts [Thu, 23 Feb 2012 20:17:53 +0000 (21:17 +0100)]
h264parse: consider nal_length_size when constructing codec_data

Fixes #670699.

12 years agofaad: discard frame upon decoding error
Mark Nauwelaerts [Thu, 23 Feb 2012 20:16:18 +0000 (21:16 +0100)]
faad: discard frame upon decoding error

12 years agotsdemux: Use incoming timestamps in live mode
Edward Hervey [Tue, 8 Nov 2011 19:19:41 +0000 (20:19 +0100)]
tsdemux: Use incoming timestamps in live mode

12 years agotsdemux: Report latency (700ms)
Edward Hervey [Tue, 8 Nov 2011 19:12:50 +0000 (20:12 +0100)]
tsdemux: Report latency (700ms)

12 years agompegtsbase: Query whether upstream is live or not
Edward Hervey [Tue, 8 Nov 2011 08:44:18 +0000 (09:44 +0100)]
mpegtsbase: Query whether upstream is live or not

12 years agoBump version after release
Tim-Philipp Müller [Thu, 23 Feb 2012 11:55:16 +0000 (11:55 +0000)]
Bump version after release

12 years agoautogen.sh: avoid touching .po files during 'make'
David Schleef [Wed, 22 Feb 2012 02:56:42 +0000 (18:56 -0800)]
autogen.sh: avoid touching .po files during 'make'

A simple workaround to deal with GNU gettext automake integration
failing to deal with git.  Fixes #669207

12 years agocolorspace: Fix v210 writing out of bounds
David Schleef [Tue, 21 Feb 2012 04:11:13 +0000 (20:11 -0800)]
colorspace: Fix v210 writing out of bounds

12 years agoschroenc: remove GST_ERROR
David Schleef [Tue, 21 Feb 2012 02:43:51 +0000 (18:43 -0800)]
schroenc: remove GST_ERROR

12 years agogst-project-maker: Create tools, pass make distcheck
David Schleef [Mon, 20 Feb 2012 19:42:23 +0000 (11:42 -0800)]
gst-project-maker: Create tools, pass make distcheck

Create a tools directory for an application.  Add source code
stubs to allow the project to compile and pass make distcheck.
Add notes in source code to tell the user how to create plugin
or app code using the other -maker scripts.

12 years agodecklink: Add $(GST_PLUGINS_BASE_CFLAGS) and $(GST_PLUGINS_BASE_LIBS) to fix the...
Sebastian Dröge [Mon, 20 Feb 2012 11:42:47 +0000 (12:42 +0100)]
decklink: Add $(GST_PLUGINS_BASE_CFLAGS) and $(GST_PLUGINS_BASE_LIBS) to fix the build

12 years agogst-project-maker: Create autotools project
David Schleef [Sun, 19 Feb 2012 23:54:39 +0000 (15:54 -0800)]
gst-project-maker: Create autotools project

This is a replacement for gst-template that creates an entire
autotools project (customized to package name), and populates
it with the source for a GStreamer plugin (but no plugin features,
those come from gst-element-maker).  Fixes: #665727.

12 years agoprintf format fixes
David Schleef [Sun, 19 Feb 2012 20:57:39 +0000 (12:57 -0800)]
printf format fixes

12 years agocolorspace: clamp intermediates when dithering
David Schleef [Sun, 19 Feb 2012 08:15:47 +0000 (00:15 -0800)]
colorspace: clamp intermediates when dithering

12 years agodecklink: Add 10-bit support
David Schleef [Mon, 23 Jan 2012 17:05:21 +0000 (09:05 -0800)]
decklink: Add 10-bit support

12 years agoschro: Add RGB support
David Schleef [Mon, 23 Jan 2012 17:02:37 +0000 (09:02 -0800)]
schro: Add RGB support

This uses the automatic YCoCg conversion inside Schroedinger to
encode/decode RGB.  Only works in intra-only mode, similar to 10-
and 16-bit, since RGB is technically a >8-bit format for Dirac
purposes.  This depends on schroedinger-1.0.12, which is unreleased.

12 years agompegtsdemux: Not apply various time the same PMT to a program when repetead
Thibault Saunier [Fri, 17 Feb 2012 15:15:27 +0000 (12:15 -0300)]
mpegtsdemux: Not apply various time the same PMT to a program when repetead

Sometimes their are several times the same PMT applying to a same program in a stream,
tsdemux was totally baffled when this was happening, we now keep the one we
already applied so it works properly.

12 years agotsdemux: fix glib deprecation
Thibault Saunier [Thu, 16 Feb 2012 12:54:24 +0000 (09:54 -0300)]
tsdemux: fix glib deprecation

12 years agowrappercamerabinsrc: Put source to null when resetting caps
Thiago Santos [Thu, 16 Feb 2012 19:30:02 +0000 (16:30 -0300)]
wrappercamerabinsrc: Put source to null when resetting caps

It seems that v4l2src isn't happy when switching formats on ready
state, it works when putting it to NULL. Keep this workaround in
wrappercamerabinsrc while v4l2src isn't fixed.

Fixes #849832

12 years agowrappercamerabinsrc: Put source in NULL when it fails changing state
Thiago Santos [Thu, 16 Feb 2012 04:12:58 +0000 (01:12 -0300)]
wrappercamerabinsrc: Put source in NULL when it fails changing state

When source is being reset to change caps, check the return of
the state syncing function to avoid leaving the source in an
unconsistent state.

12 years agomve: don't return a boolean for a GstFlowReturn
Tim-Philipp Müller [Thu, 16 Feb 2012 00:30:05 +0000 (00:30 +0000)]
mve: don't return a boolean for a GstFlowReturn

fixes playback.

12 years agotsdemux: Avoid throwing FLOW_ERROR on last PCR processing error
Thibault Saunier [Wed, 15 Feb 2012 13:32:17 +0000 (10:32 -0300)]
tsdemux: Avoid throwing FLOW_ERROR on last PCR processing error

In the case of scanning last pcr, errors are not critical, so we keep
the stream flowing.

12 years agotsdemux: Add AAC latm support
Thibault Saunier [Tue, 14 Feb 2012 14:44:48 +0000 (11:44 -0300)]
tsdemux: Add AAC latm support

12 years agotsdemux: Minor refactoring/code cleaning
Thibault Saunier [Wed, 15 Feb 2012 14:06:57 +0000 (11:06 -0300)]
tsdemux: Minor refactoring/code cleaning

... add some debugging symbols in the mean time.

12 years agocodecparsers: h264: fix SEI parsing
Jonas Larsson [Wed, 15 Feb 2012 14:07:35 +0000 (15:07 +0100)]
codecparsers: h264: fix SEI parsing

... in the presence of emulation_prevention_three_byte.

Fixes #668381.

12 years agoh264parse: use proper NALU offset for config data insertion
Mark Nauwelaerts [Wed, 15 Feb 2012 13:29:23 +0000 (14:29 +0100)]
h264parse: use proper NALU offset for config data insertion

... which has to be the position of the start code, which is almost always
but need not be 4 bytes.

12 years agodirectdrawsink: Fix warnings on 64 bit mingw-w64
Raimo Järvi [Sat, 27 Aug 2011 17:58:48 +0000 (20:58 +0300)]
directdrawsink: Fix warnings on 64 bit mingw-w64

gstdirectdrawsink.c:1561:24: error: assignment from incompatible pointer type
gstdirectdrawsink.c:2028:3: error: format '%d' expects type 'int', but argument 8 has type 'size_t'

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

12 years agompegtsmux: Trivial bug fix. Don't copy data from an uninited buffer.
Jan Schmidt [Mon, 13 Feb 2012 12:04:12 +0000 (23:04 +1100)]
mpegtsmux: Trivial bug fix. Don't copy data from an uninited buffer.