platform/upstream/gstreamer.git
15 years agoRemove executable bits from non-executable files.
Michael Smith [Tue, 27 Oct 2009 18:51:05 +0000 (11:51 -0700)]
Remove executable bits from non-executable files.

15 years agoresindvd: Remove extra new-segment in rsnstreamselector. Send discont.
Jan Schmidt [Tue, 27 Oct 2009 00:22:42 +0000 (00:22 +0000)]
resindvd: Remove extra new-segment in rsnstreamselector. Send discont.

All the input pads for the resin stream selectors have the same source,
and receive/send the same segment info, so there's no need to send a
segment when switching and activating a different pad. Removing it makes
on-the-fly audio track switching work properly.

After switching audio track, mark the next buffer discont.

15 years agoresindvd: Avoid a deadlock. Improve chapter seek.
Jan Schmidt [Mon, 26 Oct 2009 20:55:15 +0000 (20:55 +0000)]
resindvd: Avoid a deadlock. Improve chapter seek.

Avoid a potential deadlock that happens when a call to
gst_clock_id_wait_async() immediately calls the callback.
Improve previous chapter seeking slightly by avoiding 'segment
start != -1' assertions when there is no previous chapter and
the seek therefore fails.

15 years agoresindvd: lower a debug message to log level.
Jan Schmidt [Mon, 26 Oct 2009 12:19:32 +0000 (12:19 +0000)]
resindvd: lower a debug message to log level.

15 years agoresindvd: Add a keypress mapping for switching audio track
Jan Schmidt [Mon, 26 Oct 2009 11:00:34 +0000 (11:00 +0000)]
resindvd: Add a keypress mapping for switching audio track

For debugging purposes, make keys 1-8 switch audio track.

15 years agoautoconvert: Add a simple unit test
Jan Schmidt [Sat, 24 Oct 2009 11:54:19 +0000 (12:54 +0100)]
autoconvert: Add a simple unit test

Set up an autoconvert with 2 factories, and check that it can switch
between them when the caps change.

15 years agoresindvd: Set the new initial-identity property on autoconvert
Jan Schmidt [Sat, 24 Oct 2009 13:29:33 +0000 (14:29 +0100)]
resindvd: Set the new initial-identity property on autoconvert

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

15 years agoautoconvert: Support installing identity as the initial child
Jan Schmidt [Sat, 24 Oct 2009 11:38:14 +0000 (12:38 +0100)]
autoconvert: Support installing identity as the initial child

Add the 'initial-identity' property, which inserts identity for
at startup for event passing, and replaces it with a new child
when the first buffer (and caps) actually arrives.

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

15 years agoautoconvert: Cache incoming new segment events and push to children.
Jan Schmidt [Sat, 24 Oct 2009 10:18:59 +0000 (11:18 +0100)]
autoconvert: Cache incoming new segment events and push to children.

Cache incoming new-segment info.

When installing a child element, inform it of the current segment info.

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

15 years agoautoconvert: Add some debug in factory caps intersection
Jan Schmidt [Mon, 26 Oct 2009 00:41:55 +0000 (00:41 +0000)]
autoconvert: Add some debug in factory caps intersection

15 years agoautoconvert: Simple fixes.
Jan Schmidt [Sat, 24 Oct 2009 10:05:47 +0000 (11:05 +0100)]
autoconvert: Simple fixes.

Free the plugin feature list on dispose.
Output a debug message when downstream returns a fatal flow result
Fix awkward wording in a debug warning.

15 years agoautoconvert: Gratuitously move GST_OBJECT_LOCK into a macro
Jan Schmidt [Sat, 24 Oct 2009 09:27:03 +0000 (10:27 +0100)]
autoconvert: Gratuitously move GST_OBJECT_LOCK into a macro

Create GST_AUTOCONVERT_LOCK/UNLOCK macros that (for now) just call
GST_OBJECT_LOCK.

15 years agofaac: Use definitions for default values
Robert Swain [Thu, 15 Oct 2009 12:32:32 +0000 (13:32 +0100)]
faac: Use definitions for default values

Makes changing the defaults easier and more fool-proof in the future.

Fixes #598552

15 years agofaac: Change default AAC Profile to Low Complexity (LC) as this is more widely supported
Robert Swain [Thu, 15 Oct 2009 12:17:46 +0000 (13:17 +0100)]
faac: Change default AAC Profile to Low Complexity (LC) as this is more widely supported

15 years agofaac: Change the param_spec default value for allowed block types to match the gst_fa...
Robert Swain [Thu, 15 Oct 2009 12:15:40 +0000 (13:15 +0100)]
faac: Change the param_spec default value for allowed block types to match the gst_faac_init value of 'normal' as this is better

15 years agompegvideoparse: check width/height range
Thiago Santos [Tue, 20 Oct 2009 13:57:28 +0000 (10:57 -0300)]
mpegvideoparse: check width/height range

Checks if the width/height that are to be set on src pad caps
are within valid range of [16,4096]

15 years agogppmux: Add support for 3gr6
Thiago Santos [Fri, 16 Oct 2009 13:47:32 +0000 (10:47 -0300)]
gppmux: Add support for 3gr6

Keep track of the chunk durations to be able to add 3gr6
brand if it is a faststart file and the longest chunk is
smaller than a sec. Implemented according to 3gpp
TS 26.244 v6.4.0 (2005-09)

Fixes #584361

15 years agoqtmux: Only push ftyp later (in faststart mode)
Thiago Santos [Fri, 16 Oct 2009 00:11:16 +0000 (21:11 -0300)]
qtmux: Only push ftyp later (in faststart mode)

In faststart mode, there is no need to send the ftyp
right at the beginning of the stream. Waiting and sending it
only later (when the moov atom is ready to be sent) provides
us with more information about the stream and we can better
select the compatible brands.

15 years agoqtmux: Improve error message
Thiago Santos [Thu, 15 Oct 2009 20:51:39 +0000 (17:51 -0300)]
qtmux: Improve error message

Improve error message when we can't get or estimate the
timestamp/duration of a buffer

15 years agowin32: Commit bumped version number
Jan Schmidt [Mon, 26 Oct 2009 00:42:16 +0000 (00:42 +0000)]
win32: Commit bumped version number

15 years agocamerabin: fix build
Wim Taymans [Sat, 24 Oct 2009 20:31:26 +0000 (16:31 -0400)]
camerabin: fix build

15 years agocamerabin: fix for gstreamer core unit test framework update
Teemu Katajisto [Mon, 19 Oct 2009 12:54:29 +0000 (15:54 +0300)]
camerabin: fix for gstreamer core unit test framework update

Set camerabin state to NULL in the each test case end.

15 years agocamerabin: remove abbreviations from the property names. Fixes #573370 (partialy)
Stefan Kost [Mon, 19 Oct 2009 11:54:59 +0000 (14:54 +0300)]
camerabin: remove abbreviations from the property names. Fixes #573370 (partialy)

Also rename their use in tests and examples.

15 years agobuild: use gst-glib-gen.mak to fix the glib build rules.
Stefan Kost [Fri, 16 Oct 2009 08:50:22 +0000 (11:50 +0300)]
build: use gst-glib-gen.mak to fix the glib build rules.

The build rules in glib-gen.mak were using pattern rules in a non save way.

15 years agogitignore: ignore more
Stefan Kost [Fri, 16 Oct 2009 08:21:05 +0000 (11:21 +0300)]
gitignore: ignore more

15 years agocamerabin: set camerabin to READY before accessing the elements
Stefan Kost [Thu, 15 Oct 2009 14:45:00 +0000 (17:45 +0300)]
camerabin: set camerabin to READY before accessing the elements

15 years agowildmidi: use G_DIR_SEPARATOR_S instead of hardcoded slashes
Stefan Kost [Wed, 14 Oct 2009 14:42:43 +0000 (17:42 +0300)]
wildmidi: use G_DIR_SEPARATOR_S instead of hardcoded slashes

15 years agocamerabin: code cleanups
Stefan Kost [Thu, 15 Oct 2009 14:17:41 +0000 (17:17 +0300)]
camerabin: code cleanups

Align element initialisation. This should be re-thought, g_object_new zeros things already.
Harmonize the element getters for the src/sinks to return what we actualy use.

15 years agocamerabin: implement video preview creation
Tommi Myöhänen [Thu, 15 Oct 2009 13:41:12 +0000 (16:41 +0300)]
camerabin: implement video preview creation

Completes preview creation mechanism to be able to provide a preview
image for video clips too.

15 years agocamerabin: set camerabin default sources/sinks like in playbin2. Fixes #574434
Stefan Kost [Thu, 15 Oct 2009 13:15:03 +0000 (16:15 +0300)]
camerabin: set camerabin default sources/sinks like in playbin2. Fixes #574434

This uses same approach like in playbin, namely checking for user defined
element, auto{audio,video}{sink,src} and finally DEFAULT_{AUDIO,VIDEO}{SRC,SINK}
defines from config.h.

15 years agoladspa: don't reference freed pointer when building portnames
Stefan Kost [Thu, 15 Oct 2009 12:59:23 +0000 (15:59 +0300)]
ladspa: don't reference freed pointer when building portnames

15 years agocog: Add color matrix to RGB->YCbCr conversion
David Schleef [Thu, 8 Oct 2009 22:18:04 +0000 (15:18 -0700)]
cog: Add color matrix to RGB->YCbCr conversion

15 years agocog: Add color matrix selection to cogcolorspace
David Schleef [Thu, 8 Oct 2009 21:33:28 +0000 (14:33 -0700)]
cog: Add color matrix selection to cogcolorspace

Eventually hook it up to caps via gstvideo

15 years agocog: Improve RGB<->YCbCr matrixing
David Schleef [Thu, 8 Oct 2009 20:24:36 +0000 (13:24 -0700)]
cog: Improve RGB<->YCbCr matrixing

YCbCr->RGB now has a 'bits' setting, which controls the number
of bits used for the matrix coefficients.  Choices are 6 or 8.
6 is low quality, but faster.
RGB->YCbCr now works.  Always works in 8 bit, since it's the same
speed as 6 bit.

15 years agocog: Fix AYUV unpacking
David Schleef [Thu, 8 Oct 2009 20:23:53 +0000 (13:23 -0700)]
cog: Fix AYUV unpacking

15 years agocog: hacking to improve matrix quality
David Schleef [Wed, 7 Oct 2009 23:30:26 +0000 (16:30 -0700)]
cog: hacking to improve matrix quality

15 years agoconfigure.ac: And back to development we go
Edward Hervey [Sat, 24 Oct 2009 18:33:27 +0000 (20:33 +0200)]
configure.ac: And back to development we go

15 years agoRelease 0.10.16
Jan Schmidt [Fri, 23 Oct 2009 22:16:45 +0000 (23:16 +0100)]
Release 0.10.16

15 years agoUpdate .po files
Jan Schmidt [Fri, 23 Oct 2009 22:15:31 +0000 (23:15 +0100)]
Update .po files

15 years agoFix start/stop typo
Kaj-Michael Lang [Fri, 23 Oct 2009 08:00:53 +0000 (11:00 +0300)]
Fix start/stop typo

15 years agoconfigure: also build neonhttpsrc with libneon-29.x
Thomas Green [Fri, 23 Oct 2009 09:48:25 +0000 (10:48 +0100)]
configure: also build neonhttpsrc with libneon-29.x

Fixes #599332.

15 years agoschroenc: Use guint64 instead of uint64_t. Fixes #599355
Edward Hervey [Fri, 23 Oct 2009 08:18:12 +0000 (10:18 +0200)]
schroenc: Use guint64 instead of uint64_t. Fixes #599355

15 years agoRevert "dshowsrcwrapper: cleanup push buffer callback"
Jan Schmidt [Thu, 22 Oct 2009 13:00:10 +0000 (14:00 +0100)]
Revert "dshowsrcwrapper: cleanup push buffer callback"

gst-plugins-bad is still frozen for general commits.

This reverts commit 2e4131926f2726fe8fee5c39dd9357f14764d0cb.

15 years agodshowsrcwrapper: cleanup push buffer callback
Julien Isorce [Thu, 22 Oct 2009 12:26:30 +0000 (14:26 +0200)]
dshowsrcwrapper: cleanup push buffer callback

15 years agompegpsmux: some minor build fixes
Tim-Philipp Müller [Thu, 22 Oct 2009 10:43:17 +0000 (11:43 +0100)]
mpegpsmux: some minor build fixes

CLFAGS -> CFLAGS, and fix order of variables while we're at it.

15 years agoautoconvert: Take the object lock fewer times
Jan Schmidt [Wed, 21 Oct 2009 23:50:37 +0000 (00:50 +0100)]
autoconvert: Take the object lock fewer times

When starting up and creating the list of element factories, only
take the object lock twice instead of 3 times.

15 years agoautoconvert: Don't hold the object lock when pushing
Jan Schmidt [Wed, 21 Oct 2009 22:06:56 +0000 (23:06 +0100)]
autoconvert: Don't hold the object lock when pushing

When pushing out cached events, don't hold the object lock. Avoids
deadlocks starting up DVD playback.

15 years agofaac: Link with libgstbase for GstAdapter
Sebastian Dröge [Thu, 22 Oct 2009 09:10:28 +0000 (11:10 +0200)]
faac: Link with libgstbase for GstAdapter

Fixes bug #599272.

15 years agorelease 0.10.15
Jan Schmidt [Wed, 21 Oct 2009 16:14:34 +0000 (17:14 +0100)]
release 0.10.15

15 years agoUpdate .po files
Jan Schmidt [Wed, 21 Oct 2009 15:51:09 +0000 (16:51 +0100)]
Update .po files

15 years agoid3tag: actually write image to APIC tag.
Michael Smith [Fri, 16 Oct 2009 21:37:02 +0000 (14:37 -0700)]
id3tag: actually write image to APIC tag.

15 years ago0.10.14.4 pre-release
Jan Schmidt [Fri, 16 Oct 2009 11:30:59 +0000 (12:30 +0100)]
0.10.14.4 pre-release

15 years agodist: Include vdpsink.h in the tarball to fix the dist.
Jan Schmidt [Fri, 16 Oct 2009 10:53:14 +0000 (11:53 +0100)]
dist: Include vdpsink.h in the tarball to fix the dist.

15 years agodtsdec: Use gst_buffer_ref/unref, not gst_object_ref/unref
Jan Schmidt [Fri, 16 Oct 2009 10:08:05 +0000 (11:08 +0100)]
dtsdec: Use gst_buffer_ref/unref, not gst_object_ref/unref

properly fixes: #598274

15 years agoautoconvert: Use gst_pad_peer_accept_caps instead of gst_pad_set_caps.
Jan Schmidt [Fri, 16 Oct 2009 00:26:10 +0000 (01:26 +0100)]
autoconvert: Use gst_pad_peer_accept_caps instead of gst_pad_set_caps.

gst_pad_set_caps on the internal source pad always succeeds, because
caps propagate to the peer with buffers, not immediately. Using
gst_pad_peer_accept_caps properly checks whether the actual
sub-element can accept caps when they change.

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

15 years agoresindvd: Re-send audio stream select on re-configuration
Jan Schmidt [Fri, 16 Oct 2009 00:09:49 +0000 (01:09 +0100)]
resindvd: Re-send audio stream select on re-configuration

When the layout of the audio streams changes, re-send the current
audio stream selection event, in order to trigger switching to the
new stream properly.

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

15 years agoresindvd: Fix a small flaw - if any audio stream exists, use it
Jan Schmidt [Thu, 15 Oct 2009 23:50:31 +0000 (00:50 +0100)]
resindvd: Fix a small flaw - if any audio stream exists, use it

Don't create a dummy audio stream if only non-AC3 tracks exist.

15 years agoAutomatic update of common submodule
Stefan Kost [Fri, 16 Oct 2009 07:16:33 +0000 (10:16 +0300)]
Automatic update of common submodule

From 85d1530 to 0702fe1

15 years ago0.10.14.3 pre-release
Jan Schmidt [Thu, 15 Oct 2009 22:48:53 +0000 (23:48 +0100)]
0.10.14.3 pre-release

15 years agoresindvd: Fix decoder pad template to allow LPCM
Jan Schmidt [Wed, 14 Oct 2009 10:06:46 +0000 (11:06 +0100)]
resindvd: Fix decoder pad template to allow LPCM

The pad template in the new switching decoder is too restrictive,
preventing the LPCM decoder from being selected.

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

15 years agoAutomatic update of common submodule
Edward Hervey [Wed, 14 Oct 2009 08:41:38 +0000 (10:41 +0200)]
Automatic update of common submodule

From a3e3ce4 to 85d1530

15 years agoresindvd: Don't leak a reference to the parent in rsnaudiomunge
Jan Schmidt [Tue, 13 Oct 2009 12:05:50 +0000 (13:05 +0100)]
resindvd: Don't leak a reference to the parent in rsnaudiomunge

Don't leak a reference to the pad parent in the sink pad event handler
in rsnaudiomunge.

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

15 years agodtsdec: Fix reference leak on all input buffers in 'dvd mode'
Jan Schmidt [Tue, 13 Oct 2009 12:04:47 +0000 (13:04 +0100)]
dtsdec: Fix reference leak on all input buffers in 'dvd mode'

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

15 years agofaad2: Don't leak element reference in the setcaps function
Peter Christoffersen [Tue, 13 Oct 2009 14:01:26 +0000 (16:01 +0200)]
faad2: Don't leak element reference in the setcaps function

Fixes bug #598139.

15 years ago0.10.14.2 pre-release
Jan Schmidt [Mon, 12 Oct 2009 13:27:57 +0000 (14:27 +0100)]
0.10.14.2 pre-release

15 years agofaad: fixes warning in macosx snow leopard
Josep Torra [Mon, 12 Oct 2009 10:29:44 +0000 (12:29 +0200)]
faad: fixes warning in macosx snow leopard

15 years agojack: ensure segtotal is at least 2
Stefan Kost [Mon, 12 Oct 2009 06:06:37 +0000 (09:06 +0300)]
jack: ensure segtotal is at least 2

Not only adjust buffer-time and avoid segtotal=0, but instead ensure segtotal is
atleast 2. Do same change on jacksrc. We could also check the latency and buffer
time configured by the client and adjust buffer-time so that we get to the same
number of segments.

15 years agojack: don't crash in ringbuffer with SIGFPE on small buffer-times
Stefan Kost [Sun, 11 Oct 2009 21:51:27 +0000 (00:51 +0300)]
jack: don't crash in ringbuffer with SIGFPE on small buffer-times

Jack overrides user-specified latency-time with the one it gets from jack
itself. It also needs to adjust buffer-time somewhat to avoid segtotal being 0

15 years agometadata: init variables
Stefan Kost [Sun, 11 Oct 2009 19:10:04 +0000 (22:10 +0300)]
metadata: init variables

metadatamux_exif_get_exif_from_tag() does not neccesarily init the passed
variables.

15 years agosignalprocessor: use the type define like everywhere else
Stefan Kost [Sat, 3 Oct 2009 18:35:02 +0000 (21:35 +0300)]
signalprocessor: use the type define like everywhere else

15 years agosignalprocessort: register debug category just once
Stefan Kost [Sat, 3 Oct 2009 18:31:55 +0000 (21:31 +0300)]
signalprocessort: register debug category just once

Previously we were trying to register it for every subclass.

15 years agosoundtouch: fixes warnings on macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 12:10:59 +0000 (14:10 +0200)]
soundtouch: fixes warnings on macosx snow leopard

15 years agoschroedinger: fix warnings on macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 12:02:26 +0000 (14:02 +0200)]
schroedinger: fix warnings on macosx snow leopard

15 years agometadata: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 11:56:43 +0000 (13:56 +0200)]
metadata: fix warnings in macosx snow leopard

15 years agomms: fixes warning in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 11:51:58 +0000 (13:51 +0200)]
mms: fixes warning in macosx snow leopard

15 years agodirac: fix warning in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 11:46:00 +0000 (13:46 +0200)]
dirac: fix warning in macosx snow leopard

15 years agospeed: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 11:13:56 +0000 (13:13 +0200)]
speed: fix warnings in macosx snow leopard

15 years agompegvideoparse: fix warning in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 11:07:19 +0000 (13:07 +0200)]
mpegvideoparse: fix warning in macosx snow leopard

15 years agompegdemux: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 10:56:29 +0000 (12:56 +0200)]
mpegdemux: fix warnings in macosx snow leopard

15 years agodtmf: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 09:35:23 +0000 (11:35 +0200)]
dtmf: fix warnings in macosx snow leopard

15 years agoamrparse: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 09:27:08 +0000 (11:27 +0200)]
amrparse: fix warnings in macosx snow leopard

15 years agoaacparse: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 09:22:11 +0000 (11:22 +0200)]
aacparse: fix warnings in macosx snow leopard

15 years agobasevideo: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 09:14:16 +0000 (11:14 +0200)]
basevideo: fix warnings in macosx snow leopard

15 years agoassrender/dvdspu: Increase ranks to PRIMARY
Sebastian Dröge [Fri, 9 Oct 2009 11:18:31 +0000 (13:18 +0200)]
assrender/dvdspu: Increase ranks to PRIMARY

15 years agodvdspu: Include SubPicture in the classification
Sebastian Dröge [Fri, 9 Oct 2009 07:19:06 +0000 (09:19 +0200)]
dvdspu: Include SubPicture in the classification

15 years agoassrender: Make classification a bit more accurate
Sebastian Dröge [Fri, 9 Oct 2009 07:18:04 +0000 (09:18 +0200)]
assrender: Make classification a bit more accurate

Change from "Filter/Effect/Video" to "Mixer/Video/Overlay/Subtitle"

15 years agocapssetter: add unit test
Mark Nauwelaerts [Thu, 8 Oct 2009 17:51:31 +0000 (19:51 +0200)]
capssetter: add unit test

15 years agoAutomatic update of common submodule
Jan Schmidt [Thu, 8 Oct 2009 10:00:49 +0000 (11:00 +0100)]
Automatic update of common submodule

From 19fa4f3 to a3e3ce4

15 years agoschro: remove unused include of liboil.h
David Schleef [Wed, 7 Oct 2009 23:29:08 +0000 (16:29 -0700)]
schro: remove unused include of liboil.h

15 years agometadata: don't copy trailing NULL of strings in xmp metadata
Stefan Kost [Wed, 7 Oct 2009 12:43:22 +0000 (15:43 +0300)]
metadata: don't copy trailing NULL of strings in xmp metadata

Also useing g_strdup, fixes the malloc <-> g_free mismatch.

15 years agobuild: fprintf, sprintf, sscanf need stdio.h
Stefan Kost [Wed, 7 Oct 2009 12:26:12 +0000 (15:26 +0300)]
build: fprintf, sprintf, sscanf need stdio.h

15 years agotests: Add test for mimic elements
Olivier Crête [Fri, 18 Sep 2009 22:45:09 +0000 (18:45 -0400)]
tests: Add test for mimic elements

15 years agomimenc: Remove invalid todo
Olivier Crête [Fri, 18 Sep 2009 21:47:58 +0000 (17:47 -0400)]
mimenc: Remove invalid todo

15 years agompegtsparse: Ignore emphasis on/off bytes, and do fallback string encoding.
Sebastian Pölsterl [Tue, 6 Oct 2009 16:36:15 +0000 (18:36 +0200)]
mpegtsparse: Ignore emphasis on/off bytes, and do fallback string encoding.

For fallback, try ISO 8859-9 encoding if ISO 6637 failed.
Add more debug calls.

15 years agodirac: various fixes
David Schleef [Tue, 6 Oct 2009 00:04:28 +0000 (17:04 -0700)]
dirac: various fixes

 - Work around BaseEncoder bug not tracking frame index early.
 - Fix conversion of UYVY, YUY2, AYUV to internal format.

15 years agobasevideo: Revert "Call GstBaseVideoEncoder::start/stop during pad [de]activation."
David Schleef [Mon, 5 Oct 2009 23:16:34 +0000 (16:16 -0700)]
basevideo: Revert "Call GstBaseVideoEncoder::start/stop during pad [de]activation."

This reverts commit 4c087bcb072dcc9847b11c00123cf93c5e541dcb.
The reverted commit changes the order that set_format() and start()
are called, which is incorrect.  The correct order is set_format(),
start(), handle_frame()..., stop()

15 years agobasevideo: Free frame using utility function
David Schleef [Mon, 5 Oct 2009 20:33:22 +0000 (13:33 -0700)]
basevideo: Free frame using utility function

15 years agodiracenc: Fix caps unlinked negotiation
Jan Schmidt [Mon, 5 Oct 2009 20:11:18 +0000 (21:11 +0100)]
diracenc: Fix caps unlinked negotiation

move caps related code to gst_dirac_enc_set_format, and
use the source pad template to get allowed caps when there is
no peer pad.

15 years agoschroenc: When the source pad isn't linked, use the pad template
Jan Schmidt [Mon, 5 Oct 2009 18:49:06 +0000 (19:49 +0100)]
schroenc: When the source pad isn't linked, use the pad template

For negotiation, use the source pad pad template when it doesn't
have a peer.

15 years agobasevideo: Fail if caps don't contain a framerate field
Jan Schmidt [Mon, 5 Oct 2009 14:47:58 +0000 (15:47 +0100)]
basevideo: Fail if caps don't contain a framerate field

Return false from the caps parsing function if there is no framerate
field in the provided caps