Philippe Normand
0c38d700ca
dshowvideosink: Update renderer aspect ratio after force-aspect-ratio property update.
...
A new virtual method has been added to the RendererSupport class. It
is called during the initial renderer configuration and each time the
force-aspect-ratio property of the sink is updated.
Fixes bug #623272 .
2010-07-07 07:44:20 +02:00
Andoni Morales Alastruey
d69e01ed20
dshowaudiodec: Fix compilation error
...
Closes #623713
2010-07-06 23:43:09 +01:00
Sebastian Dröge
dfeaa7709b
vdpau: Check for log2 and only use it if it's available
2010-06-29 11:21:30 +02:00
Carl-Anton Ingmarsson
380ec88b4c
vdpauh264dec: don't use deprecated g_ptr_array_free incase glib >= 2.22
2010-06-28 12:00:55 +02:00
Carl-Anton Ingmarsson
0aa4d01c0f
vdpauvideopostprocess: fix resizing of output
2010-06-28 11:19:27 +02:00
Carl-Anton Ingmarsson
525c7c3933
vdpauh264dec: don't use glib 2.22 functions
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
d49cbe69e1
vdpau: change GstBaseVideoDecoder state api
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
7274d9f142
vdpauh264dec: free frames on finalize in GstH264DPB
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
d930556a47
vdpau: add display property to GstVdpDecoder
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
ec815085bf
vdpauh264dec: rename GstVdpH264Frame to GstH264Frame
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
00fd85c0f5
vdpau: fix error handling when plugging "vdpauvideopostprocess ! fakesink"
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
8e59521efa
vdpau: add error parameter to gst_vdp_video_src_pad_get_device
2010-06-28 11:11:51 +02:00
Sebastian Dröge
159b43d17c
vdpau: Link to $(LIBM) for log2 and friends
2010-06-28 10:47:52 +02:00
Carl-Anton Ingmarsson
d13a122a56
vdpau: add GstVdpDecoder base class
2010-06-26 21:27:32 +02:00
Carl-Anton Ingmarsson
71620e7fbb
vdpauh264dec: add gst_h264_dpb_set_output_func function
2010-06-26 21:27:32 +02:00
Tim-Philipp Müller
730c59e52a
vdpay: fix build in uninstalled setup
...
Add GST_PLUGINS_BASE_CFLAGS to CFLAGS so it finds the gst/video/video.h
headers in an uninstalled setup. Also reshuffle order.
2010-06-24 23:57:16 +01:00
Carl-Anton Ingmarsson
5fbbbaccc3
vdpauh264dec: fix unitialized variable
2010-06-24 22:14:38 +02:00
Carl-Anton Ingmarsson
731d160e6d
vdpauh264dec: fix initalization of GstNalReader cache
2010-06-24 22:07:45 +02:00
Carl-Anton Ingmarsson
cfad4aa3d4
vdpau: rename GstBaseVideoDecoder to SatBaseVideoDecoder using CFLAGS
2010-06-24 16:28:36 +02:00
Carl-Anton Ingmarsson
746dcfd09e
Revert "vdpau: rename GstBaseVideoDecoder to SatBaseVideoDecoder"
...
This reverts commit aa0444f204
.
2010-06-24 16:28:36 +02:00
Carl-Anton Ingmarsson
aa0444f204
vdpau: rename GstBaseVideoDecoder to SatBaseVideoDecoder
2010-06-24 13:21:34 +02:00
Carl-Anton Ingmarsson
e312e2b121
vdpauh264dec: use bitshifts instead of pow
2010-06-23 22:33:05 +02:00
Carl-Anton Ingmarsson
faa0e1c2eb
vdpauh264dec: add interlaced = false to sink caps
...
we don't support interlaced content yet
2010-06-23 22:22:20 +02:00
Carl-Anton Ingmarsson
7f3252e90a
vdpauh264dec: fix parsing of scaling lists
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
dfeff590b2
vdpauh264dec: fix reading of signed exp golomb
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
90077a6f2b
vdpau: fixup decoder timestamping
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
3826b3b57b
vdpau: remove parse_codec_data from GstBaseVideoDecoder
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
8eed6f2ab9
vdpauh264dec: fix initialization of fallback scaling matrix
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
3ea3a084e4
vdpauh264dec: improve further
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
322d1ff946
vdpauh264dec: now works for simple streams
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
80749da166
vdpau: change gst_vdp_video_src_pad_get_device behaviour
...
it now creates the device if it's not available
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
f8846a463d
vdpau: more work on h264 decoder
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
686d2d2303
vdpau: add beginning of h264 decoder
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
0490cb89c6
vdpau: base vdpaumpegdec on GstBaseVideoDecoder
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
4926c6c617
vdpauvideopostprocess: fix small bug
2010-06-23 21:51:52 +02:00
Carl-Anton Ingmarsson
a9687846f6
vdpaumpegdec: use READ_UINT[8|16|32] macros
2010-06-23 21:51:52 +02:00
Carl-Anton Ingmarsson
6933d12a9b
vdpau: remove gst_vdp_video_src_pad_set_caps
2010-06-23 21:51:52 +02:00
Tim-Philipp Müller
0b3f5bfed8
vcdsrc: minor clean-up
...
Use gst_uri_has_protocol().
2010-06-12 00:19:00 +01:00
Olivier Crête
adcb34378a
shmsink: Verify that pipe exists before resizing it
2010-06-04 16:14:06 -04:00
Olivier Crête
0aba59782b
shm: Add copyright notices to shmalloc.[ch] and shmpipe.[ch]
2010-06-04 15:54:33 -04:00
Tim-Philipp Müller
26e9df08b8
shm: fix debug messages
...
Misc. printf format fixes and missing arguments.
2010-06-03 20:51:57 +01:00
Olivier Crête
4556222718
shmsink: Make static function static
2010-06-03 15:27:43 -04:00
Olivier Crête
457b5d8ab7
shm: Use gst_element_class_set_details_simple
2010-06-03 15:27:43 -04:00
Olivier Crête
21686e3077
shm: Move to sys/ since it doesn't exist on windows
2010-06-03 15:27:43 -04:00
Bastien Nocera
af97600798
vcdsrc: change VCD URI handler to the DVD scheme
...
The current URI parsing code doesn't allow setting the "device"
from which the VCD should be read.
Use the same structure as the DVD URI handling instead, so that
devices can be passed in the URI, as well as track number.
Up the rank of the VCD plugin so that it can be auto-plugged and
used by Totem.
https://bugzilla.gnome.org/show_bug.cgi?id=340986
2010-05-22 10:30:44 +01:00
David Schleef
c3d4977761
Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
...
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it. This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs. If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00
Tim-Philipp Müller
e800ba112b
Remove oss4 plugin
...
It has been moved to gst-plugins-good.
See #614305 .
2010-05-11 19:08:45 +01:00
Carl-Anton Ingmarsson
10ee677b63
vdpau: fix small typo
2010-05-01 15:00:27 +02:00
Carl-Anton Ingmarsson
edcaf36377
vdpau: add leftover gstvdp.h
2010-05-01 14:58:30 +02:00
Carl-Anton Ingmarsson
a661b7c3ca
vdpauvideopostprocess: fix crasher on setting properties before we're in READY
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
41492e3452
vdpau: remove debug code
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
8a355f1a24
vdpau: small api cleanup
...
merge gst_vdp_video_buffer_get_allowed_[video|yuv]_caps into
gst_vdp_video_buffer_get_allowed_caps
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
5739eb3c8f
vdpau: small fixes
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
7d253da43f
vdpau: add back gstvdpau.c
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
ae660783f5
vdpau: add gst_vdp_init function where we register types
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
c4f60760ed
vdpau: add better error handling to GstVdpOutputSrcPad
...
gst_vdp_output_src_pad_push, gst_vdp_output_src_pad_alloc_buffer and
gst_vdp_output_src_pad_get_device now take a GError parameter to be able to
signal errors to the caller
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
ff7381109f
vdpau: make GstVdpVideoSrcPad(Class)? private
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
2cb7696f86
vdpaumpegdec: follow GstVdpVideoSrcPad changes
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
6afb2c5e8d
vdpau: remove template-caps propery form GstVdpVideoSrcPad
...
GstVdpVideoSrcPad now use the template property of GstPad instead. Also changed
the _new function to be like gst_pad_new_from_template.
2010-05-01 14:46:11 +02:00
Руслан Ижбулатов
baffaea6e8
Fix warnings in directdrawsink and directsoundsrc
...
Fixes #617331
2010-05-01 00:04:55 +02:00
Brian Cameron
8f12893c91
oss4sink: implement GstStreamVolume interface and add mute and volume properties
...
OSS4 supports per-stream volume control, so expose this using the right
API, so that playbin2 and applications like totem can make use of it
(instead of using a volume element for volume control).
Fixes #614305 .
2010-04-29 13:21:29 +01:00
Руслан Ижбулатов
5f25780b02
Fix printf format strings for gcc 4.5
...
Done on Windows/MinGW.
Fixes #617146
2010-04-29 10:17:56 +02:00
Sebastian Dröge
aabe73387a
vdpau: Initialize possibly uninitialized variable
2010-04-15 21:38:54 +02:00
Sebastian Dröge
0d79ca29f7
dvbsrc: Actually compare the state and not the state change return from _get_state()
2010-04-15 21:35:15 +02:00
Sebastian Dröge
bad2aae7ae
vdpau: Correctly link to the local libgstvdp-0.10 by using the libtool archive
2010-04-12 09:16:19 +02:00
Tim-Philipp Müller
e8d0c50901
oss4: 8-bit PCM audio caps don't need an endianness field
2010-04-08 10:45:33 +01:00
Tim-Philipp Müller
d575347603
oss4: don't iterate the formats table twice for each entry
...
When iterating the formats table, we can just pass the whole
entry to our helper function, which avoids iterating the table
again to find the entry structure from the passed format id.
2010-04-08 10:43:26 +01:00
Tim-Philipp Müller
cd4099db89
oss4: also accept formats not natively supported
...
Also accept formats that are not natively supported by the
hardware, OSS4 can convert them internally. List the native
formats first in the caps though, to express our preference
for the native formats. We need this in order to support the
case properly where the audio hardware supports only e.g.
little endian PCM, but the host is big endian, since many
audio elements only support native endianness and make the
reasonable assumption that any audiosink will be able to
handle audio in native endianness.
Based on patch by Jerry Tan <jerry.tan@sun.com>
Fixes #614317 .
2010-04-08 10:15:56 +01:00
Sebastian Dröge
ee4baab100
dvbsrc: Use uint instead of int for frequency and symbol-rate properties
...
The kernel API specifies them as uint32 and frequencies/symbol-rates greater
than 2^31 are actually needed sometimes.
Fixes bug #614475 .
2010-04-02 19:09:40 +02:00
Tim-Philipp Müller
840e1c5209
build: build plugins and examples in parallel where possible, if make -jN is used
2010-03-30 01:17:15 +01:00
Tim-Philipp Müller
f81a96ae65
oss4: add comment for translators
...
Not that that will make these strings much better. Also remove i18n
marker where it doesn't make sense.
2010-03-30 01:14:58 +01:00
Andoni Morales
b65da8ea96
dshowvideosrc: Add support for YUY2 input format
...
Fix bug #613708
2010-03-24 17:05:14 +01:00
Tristan Matthews
552cd26b43
osx: more compiler warning fixes
...
Avoid new warnings.
Fixes #613758 .
2010-03-24 00:19:02 +00:00
Benjamin Otte
be59e4d52e
wininet: Fix warnings
2010-03-23 01:41:31 +01:00
Benjamin Otte
f8266ee03f
directdraw: Fix warnings
2010-03-23 01:30:54 +01:00
Benjamin Otte
5038a886ab
oss4: Refactor code to make it look more modern
...
A side effect is that it passes -Wformat-nonliteral and doesn't read
invalid memory in some cases, like when the mixer track contains
a % sign or there is a number but not a known mixer name.
2010-03-22 16:22:22 +01:00
Benjamin Otte
9738d70e28
oss4: Avoid g_quark_to_string (g_quark_from_string ()) madness
...
We to the strdup inside gst_oss4_mixer_control_get_translated_name()
instead of in the only caller.
2010-03-22 16:22:22 +01:00
Benjamin Otte
33c2f5fb01
Add -Wwrite-strings
...
and fix its warnings
2010-03-22 13:16:33 +01:00
Sebastian Dröge
2a81495bff
vdpau: Fix compiler warnings
2010-03-22 08:45:27 +01:00
Benjamin Otte
c8702e06c4
directdraw: Fix warnings
2010-03-21 22:48:13 +01:00
Benjamin Otte
9e399550db
acmmp3dec: fix warnings
2010-03-21 22:09:20 +01:00
Benjamin Otte
726894ba61
Fix acmenc for warning flags
2010-03-21 21:53:44 +01:00
Benjamin Otte
f96e4f1581
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
775c7584fd
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 22:46:41 +01:00
Tim-Philipp Müller
f1fde2ed4b
dvbsrc: use g_value_set_static_string() where possible
2010-03-15 19:21:52 +00:00
David Hoyt
584ac24ba0
dshowvideosink: don't crash on invalid AM_MEDIA_TYPE
2010-02-01 16:26:36 -08:00
Vincent GENIEUX
39ab05e024
dvbsrc: fix element shutdown on bad reception
...
When we have a bad reception, avoid going into an infinite loop by setting a
shutdown flag when shutting down.
Fixes #607747
2010-01-27 12:10:32 +01:00
Benjamin Otte
665a06a44e
[oss4] Fix compiler warning about unused return value
2010-01-20 13:30:39 +01:00
Stephen McNamara
405872f69d
dshowvideosink: don't leak filter_media_event
2009-12-08 17:56:24 -08:00
Michael Smith
bb3ff2d0a7
dshowvideosink: spell things more betterer.
2009-12-07 10:21:32 -08:00
Stephen McNamara
2bae099473
dshowvideosink: add virtual destructor for internal helper class.
2009-12-07 10:10:29 -08:00
Wim Taymans
966c83dfea
vdpau: fix build
2009-11-26 15:33:32 -06:00
Edward Hervey
635e2774e6
vdpau: Fix includes
2009-11-23 09:17:39 +01:00
Carl-Anton Ingmarsson
d57488461a
vdpauvideopostprocess: convert to 1/1 pixel-aspect-ratio for rgb too
2009-11-22 22:54:27 +01:00
Carl-Anton Ingmarsson
7401cd90ad
vdpausink: intersect allowed caps with our template caps
2009-11-22 22:38:09 +01:00
Carl-Anton Ingmarsson
6aba832e7f
vdpau: fix gst_vdp_[video|yuv]_to_output_caps to also add rgb caps
2009-11-22 22:38:09 +01:00
Carl-Anton Ingmarsson
2d03815e19
vdpauvideopostprocess: use GstVdpVideoSrcPad
2009-11-22 22:38:09 +01:00
Carl-Anton Ingmarsson
4dd36435a7
vdpau: add functions to GstVdpOutputBuffer needed for rgb download
2009-11-22 22:38:09 +01:00
Carl-Anton Ingmarsson
64601993c9
vdpau: add GstPad subclass GstVdpOutputSrcPad
...
GstVdpOutputSrcPad is a subclass of GstPad that is used for pushing out
GstVdpOutputBuffers. It takes care of caps negotiation and conversion to
video/x-raw-rgb.
2009-11-22 22:38:09 +01:00
Carl-Anton Ingmarsson
a71cf4dfb2
gstvdpvideosrcpad: add "template-caps" property
...
The property limits the available output caps
2009-11-22 22:38:09 +01:00