platform/upstream/gst-plugins-bad.git
13 years agowrappercamerabinsrc: Add local mode
Thiago Santos [Fri, 17 Dec 2010 01:49:24 +0000 (22:49 -0300)]
wrappercamerabinsrc: Add local mode

13 years agocamerabin2: Adds properties for capture caps
Thiago Santos [Tue, 14 Dec 2010 21:42:51 +0000 (18:42 -0300)]
camerabin2: Adds properties for capture caps

Adds properties for selecting caps for video and image captures

13 years agobasecamerabinsrc: Fix makefile building order
Thiago Santos [Sun, 19 Dec 2010 22:40:54 +0000 (19:40 -0300)]
basecamerabinsrc: Fix makefile building order

basecamerabinsrc must be built after photography interface
as it depends on it.

13 years agocamerabin2: remove abreviations from imagecapturebin
Teemu Katajisto [Fri, 10 Dec 2010 15:45:40 +0000 (17:45 +0200)]
camerabin2: remove abreviations from imagecapturebin

13 years agobasecamerasrc: Add some more logging
Thiago Santos [Thu, 16 Dec 2010 11:47:56 +0000 (08:47 -0300)]
basecamerasrc: Add some more logging

Adds some more logging and always assume capture has started before
start_capture is called. This helps on image captures that might
call finish_capture directly from start_capture or before start_capture
finishes.

13 years agobasecamerasrc: More cleanup
Thiago Santos [Thu, 16 Dec 2010 01:35:16 +0000 (22:35 -0300)]
basecamerasrc: More cleanup

Remove old legacy code copied from camerabin(1) that should be handled
by caps negotiation on camerabin2

13 years agowrappercamerabinsrc: Remove unused variable
Thiago Santos [Wed, 15 Dec 2010 17:07:15 +0000 (14:07 -0300)]
wrappercamerabinsrc: Remove unused variable

Remove wait_for_prepara variable that wasn't being used

13 years agocamerabin2: Rename v4l2camerasrc to wrappercamerabinsrc
Thiago Santos [Tue, 14 Dec 2010 20:23:10 +0000 (17:23 -0300)]
camerabin2: Rename v4l2camerasrc to wrappercamerabinsrc

Use a better name for the element that wraps single pad src element
into a 3pad source required by camerabin2.

13 years agov4l2camerasrc: remove video filter property code
Thiago Santos [Tue, 14 Dec 2010 19:59:54 +0000 (16:59 -0300)]
v4l2camerasrc: remove video filter property code

Removes some unused custom video filter element property code

13 years agoviewfinderbin: Fix video-sink property again
Thiago Santos [Thu, 16 Dec 2010 13:51:38 +0000 (10:51 -0300)]
viewfinderbin: Fix video-sink property again

Avoid switching the element on the set_property function, instead wait
for the next NULL -> READY transition.

13 years agocamerabin2: Use videotestsrc on the tests
Thiago Santos [Tue, 14 Dec 2010 17:48:28 +0000 (14:48 -0300)]
camerabin2: Use videotestsrc on the tests

Use videotestsrc to avoid openning the camera device on the tests.

13 years agov4l2camerasrc: add video-src property
Thiago Santos [Tue, 14 Dec 2010 17:43:59 +0000 (14:43 -0300)]
v4l2camerasrc: add video-src property

Adds a property to select the src element to be used internally
on v4l2camerasrc. Yeah, I know, this element should have a better
name.

13 years agocamerabin2: Add test for supported caps properties
Thiago Santos [Mon, 13 Dec 2010 20:56:14 +0000 (17:56 -0300)]
camerabin2: Add test for supported caps properties

Adds tests for checking that the supported caps properties work
as expected (using the respective pads get caps function)

13 years agocamerabin2: adds PORTING document
Thiago Santos [Tue, 14 Dec 2010 11:44:36 +0000 (08:44 -0300)]
camerabin2: adds PORTING document

Adds a PORTING document to explain the differences from
camerabin to camerabin2 and help application developers on
porting from one to another.

13 years agocamerabin2: Move basecamerasrc to gst-libs
Thiago Santos [Mon, 13 Dec 2010 22:36:41 +0000 (19:36 -0300)]
camerabin2: Move basecamerasrc to gst-libs

Move the base camera src class to gst-libs/gst/basecamerabinsrc to
allow it to be included from the tests.

13 years agocamerabin2: add videorecordingbin::video-muxer property
Teemu Katajisto [Tue, 14 Dec 2010 12:28:49 +0000 (14:28 +0200)]
camerabin2: add videorecordingbin::video-muxer property

13 years agocamerabin2: add videorecordingbin::video-encoder property
Teemu Katajisto [Tue, 14 Dec 2010 10:21:57 +0000 (12:21 +0200)]
camerabin2: add videorecordingbin::video-encoder property

13 years agocamerabin2: remove abbreviations from videorecordingbin
Teemu Katajisto [Tue, 14 Dec 2010 07:58:35 +0000 (09:58 +0200)]
camerabin2: remove abbreviations from videorecordingbin

13 years agocamerabin2: imagecapturebin: release objects and memory allocations
Teemu Katajisto [Tue, 14 Dec 2010 08:48:56 +0000 (10:48 +0200)]
camerabin2: imagecapturebin: release objects and memory allocations

13 years agocamerabin2: Add camera-src property
Thiago Santos [Mon, 13 Dec 2010 19:36:19 +0000 (16:36 -0300)]
camerabin2: Add camera-src property

Adds a property to select the camera source element to be used.
Changing only happens on the next NULL->READY transition

13 years agocamerabin2: Rename variables
Thiago Santos [Mon, 13 Dec 2010 14:53:59 +0000 (11:53 -0300)]
camerabin2: Rename variables

Use better name for the variables, making the code clearer. Also
keep a ref for some internal elements to avoid fetching them
by name when needed later.

13 years agocamerabin2: Add properties for supported capture caps
Thiago Santos [Mon, 13 Dec 2010 02:03:21 +0000 (23:03 -0300)]
camerabin2: Add properties for supported capture caps

Adds 2 property for getting the supported image/video capture
caps from the camera source.

13 years agocamerabin2: Put enums inside their classes .c
Thiago Santos [Sun, 12 Dec 2010 23:46:16 +0000 (20:46 -0300)]
camerabin2: Put enums inside their classes .c

Remove global list of properties' enums and put them
inside their classes .c

13 years agoviewfinderbin: Fixes to video-sink handling
Thiago Santos [Sun, 12 Dec 2010 22:33:24 +0000 (19:33 -0300)]
viewfinderbin: Fixes to video-sink handling

Handle video-sink more carefully, checking if it should
be already added to the bin, and removing old ones when
replacing.

13 years agocamerabin2: add imagecapturebin::image-muxer property
Teemu Katajisto [Mon, 13 Dec 2010 14:28:58 +0000 (16:28 +0200)]
camerabin2: add imagecapturebin::image-muxer property

13 years agocamerabin2: add imagecapturebin::image-encoder property
Teemu Katajisto [Mon, 13 Dec 2010 10:08:22 +0000 (12:08 +0200)]
camerabin2: add imagecapturebin::image-encoder property

13 years agocamerabin2: remove abreviations from imagecapturebin
Teemu Katajisto [Fri, 10 Dec 2010 15:45:40 +0000 (17:45 +0200)]
camerabin2: remove abreviations from imagecapturebin

13 years agocamerabin2: implement viewfinderbin::video-sink property to override default video...
André Dieb Martins [Fri, 10 Dec 2010 15:08:48 +0000 (12:08 -0300)]
camerabin2: implement viewfinderbin::video-sink property to override default video output

13 years agobasecamerasrc: Make construct_pipeline optional
Thiago Santos [Thu, 9 Dec 2010 17:13:13 +0000 (14:13 -0300)]
basecamerasrc: Make construct_pipeline optional

Construct pipeline should be optional. Subclasses that don't
have internal elements don't need it.

13 years agobasecamerasrc: write more details on the api docs
Stefan Kost [Thu, 9 Dec 2010 10:23:01 +0000 (12:23 +0200)]
basecamerasrc: write more details on the api docs

13 years agobasecamerasrc: use the enum type for mode
Stefan Kost [Thu, 9 Dec 2010 10:22:26 +0000 (12:22 +0200)]
basecamerasrc: use the enum type for mode

13 years agobasecamerasrc: comment cleanups
Stefan Kost [Thu, 9 Dec 2010 10:21:16 +0000 (12:21 +0200)]
basecamerasrc: comment cleanups

13 years agompeg4videoparse: ensure buffer metadata is writable before modifying it
Tim-Philipp Müller [Wed, 22 Dec 2010 21:44:47 +0000 (21:44 +0000)]
mpeg4videoparse: ensure buffer metadata is writable before modifying it

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

13 years agoid3mux: Set to GST_RANK_PRIMARY
Edward Hervey [Wed, 22 Dec 2010 17:13:04 +0000 (18:13 +0100)]
id3mux: Set to GST_RANK_PRIMARY

We want it to take precedence over any other id3 formatter.

13 years agoautoconvert: Fix some more leaks and reorganize unref code
Sebastian Dröge [Tue, 21 Dec 2010 17:01:28 +0000 (18:01 +0100)]
autoconvert: Fix some more leaks and reorganize unref code

13 years agoautoconvert: Avoid some leaks in autoconvert
benjamin gaignard [Mon, 20 Dec 2010 14:33:28 +0000 (15:33 +0100)]
autoconvert: Avoid some leaks in autoconvert

unref sink and src pad after gst_pad_by_direction calls unref
element if gst_auto_convert_activate_element failed.

See bug #637553.

13 years agoasfmux: Fix buffer leak in the unit test
Sebastian Dröge [Tue, 21 Dec 2010 16:03:43 +0000 (17:03 +0100)]
asfmux: Fix buffer leak in the unit test

13 years agocamerabin: fix for latest GTK+ API changes
Saleem Abdulrasool [Mon, 20 Dec 2010 15:19:04 +0000 (07:19 -0800)]
camerabin: fix for latest GTK+ API changes

13 years agoAutomatic update of common submodule
Edward Hervey [Mon, 20 Dec 2010 16:47:29 +0000 (17:47 +0100)]
Automatic update of common submodule

From 169462a to 46445ad

13 years agocamerabin: Fix caps leaks
Thiago Santos [Mon, 20 Dec 2010 14:06:52 +0000 (11:06 -0300)]
camerabin: Fix caps leaks

Fix some caps leaks on unit tests

13 years agojifmux: Fix leaks on check test
Thiago Santos [Mon, 20 Dec 2010 12:37:22 +0000 (09:37 -0300)]
jifmux: Fix leaks on check test

Fix leaks in jifmux check test

13 years agophotography: use a flags type instead of the uint
Stefan Kost [Mon, 20 Dec 2010 11:51:03 +0000 (13:51 +0200)]
photography: use a flags type instead of the uint

Also use 0 as default and let the implementation set something that they support.

13 years agophotography: add missing property and cabability flag for noise reduction
Hu Gang [Mon, 20 Dec 2010 09:14:49 +0000 (11:14 +0200)]
photography: add missing property and cabability flag for noise reduction

13 years agotests: Fix leak in autoconvert test
Olivier Crête [Sun, 19 Dec 2010 11:53:24 +0000 (17:23 +0530)]
tests: Fix leak in autoconvert test

13 years agoautoconvert: Use gst_caps_can_intersect()
Olivier Crête [Sun, 19 Dec 2010 11:46:10 +0000 (17:16 +0530)]
autoconvert: Use gst_caps_can_intersect()

13 years agoqtmux: Free AtomInfo structs
Sebastian Dröge [Sun, 19 Dec 2010 11:53:34 +0000 (12:53 +0100)]
qtmux: Free AtomInfo structs

13 years agoqtmux: Free tag string after use
Sebastian Dröge [Sun, 19 Dec 2010 11:50:30 +0000 (12:50 +0100)]
qtmux: Free tag string after use

13 years agotagschecking: Fix some more memory leaks
Sebastian Dröge [Sun, 19 Dec 2010 11:12:25 +0000 (12:12 +0100)]
tagschecking: Fix some more memory leaks

13 years agoimagecapturebin: Don't leak message in the unit test
Sebastian Dröge [Sun, 19 Dec 2010 11:12:12 +0000 (12:12 +0100)]
imagecapturebin: Don't leak message in the unit test

13 years agoimagecapturebin: Don't leak pad and sink
Sebastian Dröge [Sun, 19 Dec 2010 11:09:41 +0000 (12:09 +0100)]
imagecapturebin: Don't leak pad and sink

13 years agoimagecapturebin: Don't leak pad template created from static pad template
Sebastian Dröge [Sun, 19 Dec 2010 11:05:11 +0000 (12:05 +0100)]
imagecapturebin: Don't leak pad template created from static pad template

13 years agoimagecapturebin: Don't leak location string
Sebastian Dröge [Sun, 19 Dec 2010 11:03:03 +0000 (12:03 +0100)]
imagecapturebin: Don't leak location string

13 years agojifmux: Don't leak taglist
Sebastian Dröge [Sun, 19 Dec 2010 11:00:25 +0000 (12:00 +0100)]
jifmux: Don't leak taglist

13 years agoautovideoconvert: Don't leak pad templates created from static pad templates
Sebastian Dröge [Sun, 19 Dec 2010 10:38:03 +0000 (11:38 +0100)]
autovideoconvert: Don't leak pad templates created from static pad templates

13 years agoautovideoconvert: Add autoconvert child before chaining up to parent state change...
Sebastian Dröge [Sun, 19 Dec 2010 10:20:25 +0000 (11:20 +0100)]
autovideoconvert: Add autoconvert child before chaining up to parent state change function

...and remove/unlink autoconvert child when going back to NULL.

13 years agostates: Ignore more vdpau elements in the generic states test
Sebastian Dröge [Sun, 19 Dec 2010 10:19:38 +0000 (11:19 +0100)]
states: Ignore more vdpau elements in the generic states test

13 years agoautovideoconvert: Rename and adjust unit test too
Sebastian Dröge [Sun, 19 Dec 2010 10:17:47 +0000 (11:17 +0100)]
autovideoconvert: Rename and adjust unit test too

13 years agoapplemedia: fix compiler warning: redundant declaration of 'parent_class'
Leo Singer [Sat, 18 Dec 2010 20:48:42 +0000 (12:48 -0800)]
applemedia: fix compiler warning: redundant declaration of 'parent_class'

GST_BOILERPLATE_FULL declares parent_class as well.

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

13 years agoqtmux: allow zero duration tracks
Lasse Laukkanen [Fri, 17 Dec 2010 17:41:25 +0000 (19:41 +0200)]
qtmux: allow zero duration tracks

13 years agodvbsuboverlay: use GST_LOG etc. for logging
Tim-Philipp Müller [Thu, 16 Dec 2010 15:31:23 +0000 (15:31 +0000)]
dvbsuboverlay: use GST_LOG etc. for logging

The dvbsub routines were originally designed as a mini lib with a
log callback (which from the looks of it in our case would always
be called and always assemble the string even with debug output
disabled). Some of these debug statements can probably be removed
or cleaned up some more.

13 years agodvbsuboverlay: remove some unused defines
Tim-Philipp Müller [Thu, 16 Dec 2010 00:19:13 +0000 (00:19 +0000)]
dvbsuboverlay: remove some unused defines

13 years agodvbsuboverlay: fix atomic access
Tim-Philipp Müller [Thu, 16 Dec 2010 00:13:18 +0000 (00:13 +0000)]
dvbsuboverlay: fix atomic access

13 years agodvbsuboverlay: fix rendering artefacts
Janne Grunau [Thu, 16 Dec 2010 15:33:45 +0000 (15:33 +0000)]
dvbsuboverlay: fix rendering artefacts

Initialize source x position for odd height special case.

13 years agodvbsuboverlay: The enable property is a boolean and not an integer
Edward Hervey [Thu, 16 Dec 2010 10:29:07 +0000 (11:29 +0100)]
dvbsuboverlay: The enable property is a boolean and not an integer

13 years agoautoconvert: Rename autocolorspace to autovideoconvert
Sebastian Dröge [Thu, 16 Dec 2010 08:56:00 +0000 (09:56 +0100)]
autoconvert: Rename autocolorspace to autovideoconvert

This doesn't just convert between color spaces.

13 years agoelement-maker: Clean up directory
David Schleef [Wed, 15 Dec 2010 20:45:38 +0000 (12:45 -0800)]
element-maker: Clean up directory

13 years agobayer2rgb: Add framerate to the sink caps
Benjamin Gaignard [Wed, 15 Dec 2010 20:28:06 +0000 (21:28 +0100)]
bayer2rgb: Add framerate to the sink caps

Fixes bug #637224.

13 years agoautocolorspace: Add unit test
Benjamin Gaignard [Wed, 15 Dec 2010 20:19:55 +0000 (21:19 +0100)]
autocolorspace: Add unit test

13 years agoautocolorspace: Add autoconvert based video format convert element
Benjamin Gaignard [Wed, 15 Dec 2010 20:14:38 +0000 (21:14 +0100)]
autocolorspace: Add autoconvert based video format convert element

Fixes bug #636106.

13 years agodvbsuboverlay: Rename DVB subtitling media type to subpicture/x-dvb
Sebastian Dröge [Wed, 15 Dec 2010 20:11:29 +0000 (21:11 +0100)]
dvbsuboverlay: Rename DVB subtitling media type to subpicture/x-dvb

13 years agompegtsdemux: Rename DVB subtitling media type to subpicture/x-dvb
Sebastian Dröge [Wed, 15 Dec 2010 20:11:11 +0000 (21:11 +0100)]
mpegtsdemux: Rename DVB subtitling media type to subpicture/x-dvb

13 years agodvbsuboverlay: Don't draw anything on the video if the enable property is set to...
Sebastian Dröge [Wed, 15 Dec 2010 19:54:35 +0000 (20:54 +0100)]
dvbsuboverlay: Don't draw anything on the video if the enable property is set to FALSE

13 years agodvbsuboverlay: Add #defines for the property default values
Sebastian Dröge [Wed, 15 Dec 2010 19:53:21 +0000 (20:53 +0100)]
dvbsuboverlay: Add #defines for the property default values

13 years agodvbsuboverlay: Use g_atomic_int_get() for reading the max_page_timeout field
Sebastian Dröge [Wed, 15 Dec 2010 19:51:12 +0000 (20:51 +0100)]
dvbsuboverlay: Use g_atomic_int_get() for reading the max_page_timeout field

13 years agompegtsdemux: Mark array static const and use G_N_ELEMENTS instead of sizeof
Sebastian Dröge [Wed, 15 Dec 2010 19:49:57 +0000 (20:49 +0100)]
mpegtsdemux: Mark array static const and use G_N_ELEMENTS instead of sizeof

13 years agompegtsdemux: add DESC_DVB_SUBTITLING descriptor for language parsing
Janne Grunau [Wed, 15 Dec 2010 13:39:56 +0000 (14:39 +0100)]
mpegtsdemux: add DESC_DVB_SUBTITLING descriptor for language parsing

13 years agompegtsdemux: enable gather_pes only for DVB subtitle private streams
Janne Grunau [Wed, 15 Dec 2010 13:23:58 +0000 (14:23 +0100)]
mpegtsdemux: enable gather_pes only for DVB subtitle private streams

13 years agodvbsuboverlay: use atomic instructions to set/get enable property
Janne Grunau [Tue, 14 Dec 2010 13:34:56 +0000 (14:34 +0100)]
dvbsuboverlay: use atomic instructions to set/get enable property

13 years agodvbsuboverlay: add property to limit page_time_out to a setable maximum
Janne Grunau [Tue, 14 Dec 2010 13:28:45 +0000 (14:28 +0100)]
dvbsuboverlay: add property to limit page_time_out to a setable maximum

13 years agodvbsuboverlay: implement display definition segment subtitle windows
Janne Grunau [Tue, 14 Dec 2010 10:11:08 +0000 (11:11 +0100)]
dvbsuboverlay: implement display definition segment subtitle windows

simplifies subtitle scaling in blit_i420()

13 years agodvbsuboverlay: scale subtitles according to the display size
Janne Grunau [Sat, 11 Dec 2010 16:25:29 +0000 (17:25 +0100)]
dvbsuboverlay: scale subtitles according to the display size

Display size is either transmitted in the display definition segment or
implicitly defined to 720x576. The subtitle window information also present in
the display definition segment is not yet used.

13 years agodvbsuboverlay: implement display definition segment parsing
Janne Grunau [Sat, 11 Dec 2010 16:10:25 +0000 (17:10 +0100)]
dvbsuboverlay: implement display definition segment parsing

13 years agodvbsuboverlay: fix luma stride for scaled subtitles (display width != width)
Janne Grunau [Fri, 10 Dec 2010 11:27:54 +0000 (12:27 +0100)]
dvbsuboverlay: fix luma stride for scaled subtitles (display width != width)

13 years agorsvgoverlay: Don't set uint on an int property
Edward Hervey [Wed, 15 Dec 2010 15:48:15 +0000 (16:48 +0100)]
rsvgoverlay: Don't set uint on an int property

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 15 Dec 2010 12:56:19 +0000 (14:56 +0200)]
Automatic update of common submodule

From 20742ae to 169462a

13 years agoelement-maker: improve generation of several classes
David Schleef [Wed, 15 Dec 2010 03:03:09 +0000 (19:03 -0800)]
element-maker: improve generation of several classes

Better creation of pads, test and fix many other classes.  Most
classes work now, although might not create functional elements.

13 years agoy4mdec: Add y4mdec
David Schleef [Tue, 14 Dec 2010 07:32:30 +0000 (23:32 -0800)]
y4mdec: Add y4mdec

Feel the y4m love.  It seeks.  It works in pitivi.

13 years agogdiscreencapsrc: fix memory leak
Francis Rammeloo [Mon, 13 Dec 2010 23:15:05 +0000 (23:15 +0000)]
gdiscreencapsrc: fix memory leak

Structure members of ICONINFO struct filled by GetIconInfo() must
be deleted when no longer needed according to the API reference.

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

13 years agojpegparse: avoid leaking tag event
Mark Nauwelaerts [Mon, 13 Dec 2010 15:23:37 +0000 (16:23 +0100)]
jpegparse: avoid leaking tag event

13 years agoac3parse: relax bsid checking
Mark Nauwelaerts [Mon, 13 Dec 2010 14:17:29 +0000 (15:17 +0100)]
ac3parse: relax bsid checking

... to the widest possible spec interpretation.

Fixes #637062.

13 years agoAutomatic update of common submodule
Stefan Kost [Mon, 13 Dec 2010 14:23:45 +0000 (16:23 +0200)]
Automatic update of common submodule

From 011bcc8 to 20742ae

13 years agorfbsrc: fail more gracefully if source gets disconnected or geometry changes
Matthew Ife [Sun, 12 Dec 2010 23:34:02 +0000 (23:34 +0000)]
rfbsrc: fail more gracefully if source gets disconnected or geometry changes

Don't get caught in an infinite loop if the source gets disconnected and also
support gracefully failing upon detecting the frame geometry has increased
(rather than segfaulting).

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

13 years agojpegparse: avoid leaking converted comment string
Mark Nauwelaerts [Sun, 12 Dec 2010 21:13:13 +0000 (22:13 +0100)]
jpegparse: avoid leaking converted comment string

13 years agossim: Set classification to Filter/Analyzer/Video instead of Filter/Converter/Video
Sebastian Dröge [Sun, 12 Dec 2010 11:01:38 +0000 (12:01 +0100)]
ssim: Set classification to Filter/Analyzer/Video instead of Filter/Converter/Video

Fixes bug #636109.

13 years agogaudieffects: Avoid divide by 0 in burn element
Jan Schmidt [Sat, 11 Dec 2010 15:24:00 +0000 (02:24 +1100)]
gaudieffects: Avoid divide by 0 in burn element

13 years agoresindvd: Defer pushing tag updates until streaming.
Jan Schmidt [Sat, 11 Dec 2010 15:16:49 +0000 (02:16 +1100)]
resindvd: Defer pushing tag updates until streaming.

Push tag/title info updates in the streaming thread, avoiding
spurious losses of the downstream events when flushing.

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

13 years agoresindvd: Attempt to use glib language setting for DVD menus/audio
Jan Schmidt [Tue, 16 Nov 2010 06:18:33 +0000 (17:18 +1100)]
resindvd: Attempt to use glib language setting for DVD menus/audio

13 years agoresindvd: Fix silly typo in button state tracking.
Jan Schmidt [Tue, 16 Nov 2010 06:09:06 +0000 (17:09 +1100)]
resindvd: Fix silly typo in button state tracking.

13 years agoapplemedia: only enqueue buffers in the VideoToolbox callbacks
Ole André Vadla Ravnås [Thu, 9 Dec 2010 23:58:58 +0000 (00:58 +0100)]
applemedia: only enqueue buffers in the VideoToolbox callbacks

These callbacks may fire from any thread, hence we should only enqueue
buffers and let the streaming thread take care of the rest as soon as
the blocking encode or decode operation has finished.

13 years agoapplemedia: bring back Leopard compatibility
Ole André Vadla Ravnås [Fri, 19 Nov 2010 14:53:55 +0000 (15:53 +0100)]
applemedia: bring back Leopard compatibility

At least as far as miovideosrc is concerned. Turns out that CoreVideo's
CVPixelBufferGetIOSurface is not present in Leopard's version of CoreVideo.
We solve this by making it possible for symbols to be marked as optional.