platform/upstream/gstreamer.git
12 years agomore template fixes
Wim Taymans [Fri, 4 Nov 2011 11:31:19 +0000 (12:31 +0100)]
more template fixes

12 years agomake request pads take _%u
Wim Taymans [Fri, 4 Nov 2011 11:22:37 +0000 (12:22 +0100)]
make request pads take _%u

12 years agovideo: port somewhat to 0.11
Wim Taymans [Fri, 4 Nov 2011 10:24:53 +0000 (11:24 +0100)]
video: port somewhat to 0.11

In 0.11 this should be done differently

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 4 Nov 2011 10:01:42 +0000 (11:01 +0100)]
Merge branch 'master' into 0.11

12 years agogme: Fix for removal of gst_element_found_tags_for_pad()
Edward Hervey [Fri, 4 Nov 2011 09:17:38 +0000 (10:17 +0100)]
gme: Fix for removal of gst_element_found_tags_for_pad()

12 years agosurfaceconverter: Remove duplicated forward declaration
Olivier Crête [Thu, 3 Nov 2011 21:17:10 +0000 (17:17 -0400)]
surfaceconverter: Remove duplicated forward declaration

It seems that some compilers don't like duplicated typedefs.

12 years agovideoenc: fix compiler warning
Wim Taymans [Thu, 3 Nov 2011 15:57:29 +0000 (16:57 +0100)]
videoenc: fix compiler warning

12 years agovideo: fix for metadata API change
Wim Taymans [Thu, 3 Nov 2011 15:57:17 +0000 (16:57 +0100)]
video: fix for metadata API change

12 years agovp8: Port to 0.11
Edward Hervey [Thu, 3 Nov 2011 13:01:41 +0000 (14:01 +0100)]
vp8: Port to 0.11

12 years agolibs/video: Finish porting to 0.11
Edward Hervey [Thu, 3 Nov 2011 12:56:49 +0000 (13:56 +0100)]
libs/video: Finish porting to 0.11

12 years agovideo: Add libgstbasevideo PC file
Nicolas Dufresne [Wed, 28 Sep 2011 23:29:07 +0000 (19:29 -0400)]
video: Add libgstbasevideo PC file

12 years agovideo: Add GstVideoContext interface
Nicolas Dufresne [Wed, 19 Oct 2011 20:19:51 +0000 (16:19 -0400)]
video: Add GstVideoContext interface

This interface will be used to implement video context sharing. Those
context could be X11 Display, VaDisplay, etc.

12 years agovideo: Abstract surface API for HW accelerated codecs
Nicolas Dufresne [Fri, 7 Oct 2011 23:05:30 +0000 (19:05 -0400)]
video: Abstract surface API for HW accelerated codecs

12 years agotests: make const data const
Vincent Penquerc'h [Wed, 26 Oct 2011 15:31:39 +0000 (16:31 +0100)]
tests: make const data const

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

12 years agovc1parser: do not overwrite buffer
Vincent Penquerc'h [Wed, 26 Oct 2011 15:29:35 +0000 (16:29 +0100)]
vc1parser: do not overwrite buffer

I do not know the bitstream format, but this seems likely
to be what was intended. Also add a check on the number of
items to read.

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

12 years agovc1parser: fix parsing of RANGEREDFRM
Sreerenj Balachandran [Fri, 21 Oct 2011 10:18:26 +0000 (13:18 +0300)]
vc1parser: fix parsing of RANGEREDFRM

12 years agotag: update for tag API removal
Wim Taymans [Wed, 2 Nov 2011 11:10:03 +0000 (12:10 +0100)]
tag: update for tag API removal

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 2 Nov 2011 09:31:24 +0000 (10:31 +0100)]
Merge branch 'master' into 0.11

12 years agogme: update for taglist api changes
Wim Taymans [Wed, 2 Nov 2011 08:14:41 +0000 (09:14 +0100)]
gme: update for taglist api changes

12 years agostructure: fix for api update
Wim Taymans [Sat, 29 Oct 2011 07:09:25 +0000 (09:09 +0200)]
structure: fix for api update

12 years agocaps: update for new API
Wim Taymans [Sat, 29 Oct 2011 06:25:54 +0000 (08:25 +0200)]
caps: update for new API

12 years agocamerabin2: On capture error, skip previews
Thiago Santos [Tue, 1 Nov 2011 14:47:46 +0000 (11:47 -0300)]
camerabin2: On capture error, skip previews

When the camera source fails to do some capture, skip the next
preview and decrement processing counter.

12 years agocamerabin2: track also preview images with processing counter
Lasse Laukkanen [Tue, 1 Nov 2011 13:38:33 +0000 (10:38 -0300)]
camerabin2: track also preview images with processing counter

Makes camerabin2 only signal that it is idle after all previews have
been generated, images are captured and saved, and videos have
been finished properly.

12 years agoh264parser: fix access to uninitialized memory
René Stadler [Tue, 1 Nov 2011 14:08:26 +0000 (15:08 +0100)]
h264parser: fix access to uninitialized memory

When vui->timing_info_present is 0, vui->fixed_frame_rate_flag and others
cannot be accessed since they have not been set.

It was also possible that sps->fps_{num,den} end up initialized here.

12 years agoconfigure: hack around broken mplex 2.0.0 headers in mplex check
Brad Smith [Tue, 1 Nov 2011 11:11:47 +0000 (11:11 +0000)]
configure: hack around broken mplex 2.0.0 headers in mplex check

Due to the addition of an unconditional inclusion of config.h in
mjpegtool 2.0.0's stream_params.h header the autoconf test for the
mplex module failed. Hack around this in the same way we did for
mpeg2enc.

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

12 years agoconfigure: fix typo in mpeg2enc check so CPPFLAGS get restored correctly
Brad Smith [Tue, 1 Nov 2011 11:09:52 +0000 (11:09 +0000)]
configure: fix typo in mpeg2enc check so CPPFLAGS get restored correctly

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

12 years agoh264parser: fix MAX_SPS/PPS boundary checks
René Stadler [Tue, 1 Nov 2011 11:29:35 +0000 (12:29 +0100)]
h264parser: fix MAX_SPS/PPS boundary checks

12 years agotests: h264parse: fix exit code
René Stadler [Tue, 1 Nov 2011 11:12:56 +0000 (12:12 +0100)]
tests: h264parse: fix exit code

12 years agoUpdate for pad API changes
Tim-Philipp Müller [Tue, 1 Nov 2011 00:45:25 +0000 (00:45 +0000)]
Update for pad API changes

GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*

12 years agofieldanalysis: Don't reset the context on DISCONT
Robert Swain [Fri, 28 Oct 2011 09:10:06 +0000 (11:10 +0200)]
fieldanalysis: Don't reset the context on DISCONT

On discont, the queue of frames was being cleared, but also the
context reset. We only need to clear the queue.

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Mon, 31 Oct 2011 14:51:32 +0000 (14:51 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agokate, bayer, tsdemux: update for caps and taglist API changes
Tim-Philipp Müller [Mon, 31 Oct 2011 14:51:01 +0000 (14:51 +0000)]
kate, bayer, tsdemux: update for caps and taglist API changes

12 years agoconfigure: add kate and mythtv to non-ported list
Tim-Philipp Müller [Mon, 31 Oct 2011 14:50:24 +0000 (14:50 +0000)]
configure: add kate and mythtv to non-ported list

katetiger isn't ported, so plugin doesn't build if libtiger is present.

12 years agobasevideoencoder: handle failures in start() and stop()
Alessandro Decina [Mon, 31 Oct 2011 10:36:06 +0000 (11:36 +0100)]
basevideoencoder: handle failures in start() and stop()

12 years agobasecamerasrc: optimize state changing speed
Tommi Myöhänen [Mon, 31 Oct 2011 09:59:53 +0000 (06:59 -0300)]
basecamerasrc: optimize state changing speed

Create preview pipeline already in initialization phase. This speeds
up NULL_TO_READY state change. Also implement a separate function for
setting the preview filter element.

This also restricts the preview filter property to work only on
NULL state.

12 years agomake elements compile again
Wim Taymans [Fri, 28 Oct 2011 13:16:43 +0000 (15:16 +0200)]
make elements compile again

12 years agompegtsdemux: fix compilation
Wim Taymans [Thu, 27 Oct 2011 14:23:26 +0000 (16:23 +0200)]
mpegtsdemux: fix compilation

12 years agoassrender: fix compilation
Wim Taymans [Thu, 27 Oct 2011 14:23:10 +0000 (16:23 +0200)]
assrender: fix compilation

12 years agoadd spandsp to non-ported
Wim Taymans [Thu, 27 Oct 2011 14:22:45 +0000 (16:22 +0200)]
add spandsp to non-ported

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 27 Oct 2011 14:13:56 +0000 (16:13 +0200)]
Merge branch 'master' into 0.11

12 years agointerfaces: clean up the use of iface and class/klass
Stefan Sauer [Fri, 21 Oct 2011 13:04:05 +0000 (15:04 +0200)]
interfaces: clean up the use of iface and class/klass

12 years agovc1parser: Correct the parsing of FRMRTQ_POSTPROC and BITRTQ_POSTPROC
Sreerenj Balachandran [Wed, 19 Oct 2011 07:24:52 +0000 (10:24 +0300)]
vc1parser: Correct the parsing of FRMRTQ_POSTPROC and BITRTQ_POSTPROC

12 years agovc1parser: Correct the parsing of sequece layer.
Sreerenj Balachandran [Fri, 21 Oct 2011 08:40:54 +0000 (11:40 +0300)]
vc1parser: Correct the parsing of sequece layer.

12 years agoDisable ext/faad for the android ndk build
Reynaldo H. Verdejo Pinochet [Thu, 20 Oct 2011 12:39:19 +0000 (09:39 -0300)]
Disable ext/faad for the android ndk build

It currently makes the build fail. Idea is to enable
it back again once its building problems get sorted
out.

12 years agoassrender, nuvdemux: unref buffers with gst_buffer_unref()
Tim-Philipp Müller [Tue, 18 Oct 2011 13:41:48 +0000 (14:41 +0100)]
assrender, nuvdemux: unref buffers with gst_buffer_unref()

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 18 Oct 2011 12:32:05 +0000 (14:32 +0200)]
Merge branch 'master' into 0.11

12 years agocelt: start of 0.11 port
Wim Taymans [Tue, 18 Oct 2011 12:28:04 +0000 (14:28 +0200)]
celt: start of 0.11 port

12 years agocodecparsers: VC1: Compute par and fps in advanced profile
Thibault Saunier [Fri, 14 Oct 2011 14:07:00 +0000 (11:07 -0300)]
codecparsers: VC1: Compute par and fps in advanced profile

12 years agocodecparsers: VC1: Handle interlaced fields
Thibault Saunier [Mon, 10 Oct 2011 17:19:48 +0000 (14:19 -0300)]
codecparsers: VC1: Handle interlaced fields

12 years agocodecparsers: VC1: Handle interlaced frames properly
Thibault Saunier [Mon, 10 Oct 2011 13:14:12 +0000 (10:14 -0300)]
codecparsers: VC1: Handle interlaced frames properly

12 years agocodecparsers: VC1: Use enums when possible
Thibault Saunier [Fri, 7 Oct 2011 16:11:55 +0000 (13:11 -0300)]
codecparsers: VC1: Use enums when possible

Add GstVC1FrameCodingMode and use it for the fcm field
Use GstVC1PictureType as variable type for ptype
Use GstVC1Level as variable type for level

12 years agocodecparsers: vc1: fix bitplanes decoding (check for errors).
Gwenole Beauchesne [Fri, 7 Oct 2011 15:42:17 +0000 (17:42 +0200)]
codecparsers: vc1: fix bitplanes decoding (check for errors).

12 years agocodecparsers: vc1: fix bitplanes decoding (INVERT mode).
Gwenole Beauchesne [Fri, 7 Oct 2011 13:21:34 +0000 (15:21 +0200)]
codecparsers: vc1: fix bitplanes decoding (INVERT mode).

12 years agocodecparsers: vc1: fix MVMODE and MVMODE2 parsing.
Gwenole Beauchesne [Fri, 7 Oct 2011 11:59:29 +0000 (13:59 +0200)]
codecparsers: vc1: fix MVMODE and MVMODE2 parsing.

12 years agocodecparsers: vc1: handle skipped pictures gracefully.
Gwenole Beauchesne [Wed, 5 Oct 2011 15:39:59 +0000 (17:39 +0200)]
codecparsers: vc1: handle skipped pictures gracefully.

12 years agocodecparsers: VC1: Implement bitplanes diff operator
Thibault Saunier [Tue, 4 Oct 2011 20:39:42 +0000 (17:39 -0300)]
codecparsers: VC1: Implement bitplanes diff operator

12 years agocodecparsers: VC1: Some cosmetics and debug logging enhancements
Thibault Saunier [Tue, 4 Oct 2011 20:39:00 +0000 (17:39 -0300)]
codecparsers: VC1: Some cosmetics and debug logging enhancements

12 years agocodecparsers: vc1: Implement bitplanes handling properly
Gwenole Beauchesne [Tue, 4 Oct 2011 13:16:04 +0000 (15:16 +0200)]
codecparsers: vc1: Implement bitplanes handling properly

Add a new GstVC1BitPlanes API.

12 years agocodecparsers: vc1: fix BFRACTION parser (values range + overflow).
Gwenole Beauchesne [Tue, 4 Oct 2011 12:04:42 +0000 (14:04 +0200)]
codecparsers: vc1: fix BFRACTION parser (values range + overflow).

12 years agocodecparsers: vc1: fix VLC decoding.
Gwenole Beauchesne [Tue, 4 Oct 2011 09:57:37 +0000 (11:57 +0200)]
codecparsers: vc1: fix VLC decoding.

12 years agocodecparsers: VC1: Implement FrameLayer parsing
Thibault Saunier [Wed, 5 Oct 2011 19:40:47 +0000 (16:40 -0300)]
codecparsers: VC1: Implement FrameLayer parsing

12 years agocodecparsers: VC1: Implement Sequence Layer Data Structures
Thibault Saunier [Wed, 5 Oct 2011 15:15:00 +0000 (12:15 -0300)]
codecparsers: VC1: Implement Sequence Layer Data Structures

Instead of having a single VC1SequenceHeader structure, use the 3 structs
from the "Table 265: Sequence Layer Data Structure" of the specification
for the library to be more flexible.

Implement the functions to parse them

12 years agocodecparsers: VC1: Compute framerate and bitrate in simple/main profiles
Thibault Saunier [Wed, 5 Oct 2011 11:26:31 +0000 (08:26 -0300)]
codecparsers: VC1: Compute framerate and bitrate in simple/main profiles

12 years agocodecparsers: VC1: compute MB height and width
Thibault Saunier [Mon, 3 Oct 2011 17:25:00 +0000 (14:25 -0300)]
codecparsers: VC1: compute MB height and width

Add them to GstVC1SequenceHdr

12 years agocodecparsers: vc1: debug cosmetics.
Gwenole Beauchesne [Mon, 3 Oct 2011 13:36:08 +0000 (15:36 +0200)]
codecparsers: vc1: debug cosmetics.

12 years agocodecparsers: vc1: record picture layer header size in bits.
Gwenole Beauchesne [Mon, 3 Oct 2011 09:42:32 +0000 (11:42 +0200)]
codecparsers: vc1: record picture layer header size in bits.

12 years agocodecparsers: vc1: compute altpquant.
Gwenole Beauchesne [Mon, 3 Oct 2011 09:14:25 +0000 (11:14 +0200)]
codecparsers: vc1: compute altpquant.

12 years agocodecparsers: VC1: Fix after GstVC1ParserResult renaming
Thibault Saunier [Mon, 3 Oct 2011 17:22:17 +0000 (14:22 -0300)]
codecparsers: VC1: Fix after GstVC1ParserResult renaming

12 years agocodecparsers: vc1: use GstVC1ParserResult type name similarly to other parsers.
Gwenole Beauchesne [Fri, 30 Sep 2011 10:41:13 +0000 (12:41 +0200)]
codecparsers: vc1: use GstVC1ParserResult type name similarly to other parsers.

12 years agocodecparsers: vc1: handle End-of-Sequence correctly.
Gwenole Beauchesne [Fri, 30 Sep 2011 09:38:15 +0000 (11:38 +0200)]
codecparsers: vc1: handle End-of-Sequence correctly.

12 years agocodecparsers: mpeg2: fix quant_matrix_extension() parser for chroma intra QM.
Gwenole Beauchesne [Wed, 14 Sep 2011 12:21:47 +0000 (14:21 +0200)]
codecparsers: mpeg2: fix quant_matrix_extension() parser for chroma intra QM.

12 years agoh264parse: correct debug message and remove some dead code
Sreerenj Balachandran [Thu, 13 Oct 2011 13:52:43 +0000 (16:52 +0300)]
h264parse: correct debug message and remove some dead code

See #661113.

12 years agoh264parse: correct parsing of "numberOfPictureParameterSets"
Sreerenj Balachandran [Thu, 6 Oct 2011 13:55:43 +0000 (16:55 +0300)]
h264parse: correct parsing of "numberOfPictureParameterSets"

See #661113.

12 years agobayer2rgb: Fix pad template caps
Edward Hervey [Mon, 17 Oct 2011 08:19:20 +0000 (10:19 +0200)]
bayer2rgb: Fix pad template caps

12 years agoy4m: port to 0.11
Wim Taymans [Sun, 16 Oct 2011 15:41:45 +0000 (17:41 +0200)]
y4m: port to 0.11

12 years agofaac: port to 0.11
Wim Taymans [Sun, 16 Oct 2011 14:45:24 +0000 (16:45 +0200)]
faac: port to 0.11

12 years agobayer: port to 0.11
Wim Taymans [Sun, 16 Oct 2011 14:28:58 +0000 (16:28 +0200)]
bayer: port to 0.11

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Sun, 16 Oct 2011 13:28:31 +0000 (15:28 +0200)]
Merge branch 'master' into 0.11

12 years agotsdemux: Use gst_buffer_join instead of bufferlists
Edward Hervey [Thu, 13 Oct 2011 14:57:31 +0000 (16:57 +0200)]
tsdemux: Use gst_buffer_join instead of bufferlists

This is *really* inefficient. We should track list of GstMemory
instead.

12 years agotsdemux: Plug more leaks
Edward Hervey [Thu, 13 Oct 2011 14:57:17 +0000 (16:57 +0200)]
tsdemux: Plug more leaks

12 years agompegtsbase: Refactor scan loop
Edward Hervey [Thu, 13 Oct 2011 14:55:54 +0000 (16:55 +0200)]
mpegtsbase: Refactor scan loop

Avoids ending up leaking packets when we got one and res was different
from GST_FLOW_OK.

It also looks more comprehensible

12 years agompegtsbase: Don't leak upstream events
Edward Hervey [Thu, 13 Oct 2011 14:55:40 +0000 (16:55 +0200)]
mpegtsbase: Don't leak upstream events

12 years agompegtsbase: Refactor code to cope with g_hash_table_foreach_remove()
Edward Hervey [Thu, 13 Oct 2011 14:55:05 +0000 (16:55 +0200)]
mpegtsbase: Refactor code to cope with g_hash_table_foreach_remove()

12 years agotsdemux/tsparse: Port to 0.11
Edward Hervey [Wed, 12 Oct 2011 16:05:07 +0000 (18:05 +0200)]
tsdemux/tsparse: Port to 0.11

This is a naive port that somewhat works but is inefficient.
I need to rethink how to make the best out of GstMemory/GstBuffer

12 years agocamerabin2: Check before acessing preview location list
Thiago Santos [Wed, 12 Oct 2011 15:09:18 +0000 (12:09 -0300)]
camerabin2: Check before acessing preview location list

Only access the preview location if it exists, to avoid acessing
a NULL variable. If the preview location list doesn't exist, it is
likely because the source has posted a preview message after camerabin2
has been put to READY.

12 years agoshm: Add buffer-time property
Sjoerd Simons [Sun, 7 Aug 2011 15:01:48 +0000 (17:01 +0200)]
shm: Add buffer-time property

Add a buffer-time property to limit the size of the amount of data
queued in the shmsink buffer in nanoseconds.

Fixes: #656107

12 years agoshm: Add ability to add uint64 tags on buffers
Sjoerd Simons [Sun, 7 Aug 2011 14:36:32 +0000 (16:36 +0200)]
shm: Add ability to add uint64 tags on buffers

12 years agobasecamerasrc: Set preview pipeline to ready when going to ready
Thiago Santos [Wed, 12 Oct 2011 02:30:49 +0000 (23:30 -0300)]
basecamerasrc: Set preview pipeline to ready when going to ready

The preview pipeline should go to ready when the camerasrc goes
to ready, as in ready elements shouldn't be processing data.

12 years agocamerabin2: Add a mutex to avoid concurrent access of preview filename lists
Thiago Santos [Wed, 12 Oct 2011 02:13:00 +0000 (23:13 -0300)]
camerabin2: Add a mutex to avoid concurrent access of preview filename lists

The preview filename list is acessed whenever a new capture is started, when
camera-source posts a new preview message or on state changes. All of those can
occur simultaneously, so add a mutex to prevent concurrent access.

12 years agocamerabin: Reset audiosrc timestamping
Thiago Santos [Fri, 7 Oct 2011 13:48:07 +0000 (10:48 -0300)]
camerabin: Reset audiosrc timestamping

Reset audiosrc's timestamping data by setting
it to NULL to reset the ringbuffer and then re-seting
the clock that camerabin might not redistribute

12 years agocamerabin: Prevent audio source from providing clock
Thiago Santos [Tue, 11 Oct 2011 19:27:07 +0000 (16:27 -0300)]
camerabin: Prevent audio source from providing clock

camerabin's audio source might be put to NULL during its
use, so the clock would be lost. Better not allow it to
provide a clock at all.

12 years agoconfigure.ac: openal is not ported yet
Edward Hervey [Tue, 11 Oct 2011 09:05:52 +0000 (11:05 +0200)]
configure.ac: openal is not ported yet

12 years agodvb: port to 0.11
Wim Taymans [Mon, 10 Oct 2011 09:41:33 +0000 (11:41 +0200)]
dvb: port to 0.11

12 years agodvbsuboverlay: port to 0.11
Wim Taymans [Mon, 10 Oct 2011 08:15:05 +0000 (10:15 +0200)]
dvbsuboverlay: port to 0.11

12 years agodvdspu: port to 0.11
Wim Taymans [Sat, 8 Oct 2011 13:16:25 +0000 (15:16 +0200)]
dvdspu: port to 0.11

12 years agokate: port to 0.11
Wim Taymans [Sat, 8 Oct 2011 12:22:58 +0000 (14:22 +0200)]
kate: port to 0.11

12 years agoconfigure: disable directfb
Wim Taymans [Sat, 8 Oct 2011 11:14:57 +0000 (13:14 +0200)]
configure: disable directfb

12 years agozbar: port to 0.11
Wim Taymans [Sat, 8 Oct 2011 10:07:58 +0000 (12:07 +0200)]
zbar: port to 0.11

12 years agogme: port to 0.11
Wim Taymans [Sat, 8 Oct 2011 09:57:58 +0000 (11:57 +0200)]
gme: port to 0.11

12 years agoflite: port to 0.11
Wim Taymans [Sat, 8 Oct 2011 09:46:23 +0000 (11:46 +0200)]
flite: port to 0.11