Sebastian Dröge
166ee21b5b
frei0r: In the src plugins create the frei0r instances in create() before playback starts
2009-06-29 11:54:26 +02:00
Sebastian Dröge
867d51fb31
frei0r: Use fixed caps on the filter pads
...
This is required because we have to create a new frei0r
instance for any caps changes and the instances can have history.
Just creating a new instance during playback can result in bad output
right after the caps change.
2009-06-29 11:50:44 +02:00
Sebastian Dröge
cd6422a372
frei0r: Set the default property values correctly
2009-06-27 09:52:22 +02:00
Stefan Kost
3d6d1c2ed2
camerabin: code cleanups
...
Downgrade a WARNING to INFO. Use a bit more compact code. Add a fixme comment.
2009-06-26 18:36:26 +03:00
Stefan Kost
59bfe55110
camerabin: just ref caps, we don't need a writable copy
2009-06-26 18:36:25 +03:00
Stefan Kost
df14237dba
camerabin: no need to ref and unref this temporarily
2009-06-26 18:36:25 +03:00
Stefan Kost
c9208657b1
camerabin: don't leak sink_caps if they would be any-caps
2009-06-26 18:36:25 +03:00
Stefan Kost
a5e9a5eebc
camerabin: don't leak preview images
2009-06-26 18:36:25 +03:00
Stefan Kost
9a692cf602
camerabin: don't leak viewfinder-caps
2009-06-26 18:36:25 +03:00
Stefan Kost
2f93fb8c73
camerabin: insert a few blank lines for readability
2009-06-26 18:36:24 +03:00
Stefan Kost
4ab9f800a8
camerabin: don't leak messages and element refs in preview
2009-06-26 18:36:24 +03:00
Changwoo Ryu
1ab8c008f3
freeze: don't build plugin static lib
...
Pass --tag=disable-static to libtool like we do for other plugins.
Fixes #587023 .
2009-06-26 09:34:11 +01:00
Stefan Kost
e673b099d4
camerabin: don't leak requestpads
...
Requestpads need to be released and unreffed. Add a comment in one case where
we intentionaly don't unref.
2009-06-25 19:34:28 +03:00
Mark Nauwelaerts
8241b05038
capssetter: import element into -bad
2009-06-25 18:10:42 +02:00
Edward Hervey
1bb23517fe
qtmux: Remove unused variable.
2009-06-25 08:38:21 +02:00
Edward Hervey
d6ff39bb35
qtmux: Fix debug statement.
2009-06-25 08:38:10 +02:00
Lasse Laukkanen
c3abf1b267
camerabin: buffer-alloc support fixes to image and video bin handling
...
Keep image bin in PAUSED state in image mode except when processing/saving (PLAYING/READY).
Change output-selector to view finder before setting video bin to READY.
Fix filename sent with img-done signal.
2009-06-24 19:01:01 +03:00
Lasse Laukkanen
18e7091238
camerabin: fix setting mute when video bin elements haven't been created
2009-06-24 18:58:17 +03:00
Lasse Laukkanen
8a39d28002
camerabin: set image bin to PAUSED when starting capture
...
Set image bin to PAUSED also when starting capture using photography
interface.
2009-06-24 18:58:16 +03:00
Lasse Laukkanen
a265e4d2b3
camerabin: leave v4l2camsrc "capture-mode" as video mode when pausing
2009-06-24 18:58:16 +03:00
Sebastian Dröge
6ba122834a
shapewipe: Correctly handle 0/1 fps
2009-06-23 18:24:00 +02:00
Stefan Kost
74f065ee75
camerabin: add local include dir to CFLAGS
2009-06-22 23:49:03 +03:00
Stefan Kost
a971391906
camerabin: code cruft removal and debug logs
...
Remove unused code. Add lots of debug loging. Change comments for local
functions to not use /** gtk-doc start style.
2009-06-22 13:41:16 +03:00
Wim Taymans
1cf9f2d497
h264parse: detect and fix for bad NALU sizes
...
when in AVC mode a nalu size seems invalid, assume the NALU has the size of the
available data instead of looping forever.
Fixes #586354
2009-06-22 11:19:07 +02:00
Carl-Anton Ingmarsson
426a6eaba9
vdpau: change element rank for testing purposes
...
set mpegvideoparse rank to primary and vdpaumpegdec to primary - 1 to get vdpaumpegdec
correctly plugged into playbin
2009-06-20 15:21:40 +01:00
Branko Subasic
c70dbe94b5
rtpbin: add support for buffer-list
...
Add support for sending buffer-lists.
Add unit test for testing that the buffer-list passed through rtpbin.
fixes #585839
2009-06-19 19:10:35 +02:00
Mark Nauwelaerts
11dc33bea0
aacparse: ADIF: do not send bogus timestamps, leave to downstream (decoder)
2009-06-19 18:13:09 +02:00
Mark Nauwelaerts
e29be2546f
qtmux: only use (64-bit) extended (mdat) atom size if needed. Fixes #585319 .
2009-06-19 18:13:06 +02:00
Mark Nauwelaerts
5b672ed441
qtmux: set default movie timescale to microsecond units
2009-06-19 18:13:03 +02:00
Mark Nauwelaerts
d4b5c6ae5b
qtmux: compress/optimize stsc writing
2009-06-19 18:13:00 +02:00
Mark Nauwelaerts
1aeb7d9b54
qtmux: add 3GP style tagging (and refactor appropriately)
2009-06-19 18:12:58 +02:00
Mark Nauwelaerts
b0c0651d7c
qtmux (and variants): handle pixel-aspect-ratio. Fixes #584358 .
2009-06-19 18:12:54 +02:00
Tim-Philipp Müller
98292e9efd
Fix previous commit so that things still work with debug logs enabled
2009-06-19 17:04:48 +01:00
Tim-Philipp Müller
6eb167a176
Make build without warnings with debugging disabled
2009-06-19 16:21:28 +01:00
Sebastian Dröge
29aa30d9a0
frei0r: Make plugin scanning more robust
2009-06-19 11:03:16 +02:00
Sebastian Dröge
b30ebf0108
frei0r: Make sure to only register plugins that have valid propert types
2009-06-19 11:03:16 +02:00
Sebastian Dröge
abffe58d43
frei0r: Remove custom get_unit_size implementation
...
This is already handled by the default one from GstVideoFilter
2009-06-19 11:03:15 +02:00
Sebastian Dröge
ab0a9e3694
frei0r: Fix the klass of the filter elements
2009-06-19 11:03:15 +02:00
Sebastian Dröge
3aabf06c86
frei0r: Free type names
2009-06-19 11:03:15 +02:00
Sebastian Dröge
32a0af3e54
frei0r: Unref the GstCollectPads instance on finalize
2009-06-19 11:03:15 +02:00
Sebastian Dröge
15f1ccaef8
frei0r: Don't allow caps changes in PLAYING/PAUSED
...
Most frei0r source plugins generate output based on
previous output and creating a new instance on caps
changes will let the output start at 0 again.
2009-06-19 11:03:14 +02:00
Sebastian Dröge
d459b814f1
freir0: Add support for frei0r mixer plugins
2009-06-19 11:03:14 +02:00
Sebastian Dröge
6fc47a92df
frei0r: Destroy the f0r_instance_t in stop()
2009-06-19 11:03:14 +02:00
Sebastian Dröge
455981d336
frei0r: Add the frei0r plugin type to the element name
...
This makes it easier to distinguish generators from filters, etc
2009-06-19 11:03:14 +02:00
Sebastian Dröge
e3afdb0bd5
frei0r: Add support for frei0r source/generator plugins
2009-06-19 11:03:14 +02:00
Sebastian Dröge
41869062c6
frei0r: Allow the complete double range for double properties
...
The spec restricts it to [0,1] but some plugins are using the
complete double range.
2009-06-19 11:03:13 +02:00
Sebastian Dröge
6ed5ac184b
frei0r: Use better property nicks
2009-06-19 11:03:13 +02:00
Sebastian Dröge
0a684a3d04
frei0r: First version of a frei0r wrapper plugin
...
Currently this only supports frei0r filters.
2009-06-19 11:03:13 +02:00
Maximilian Högner
d45e804d5a
scaletempo: Explicitely cast to signed integers to fix a segfault
...
Fixes bug #585660 .
2009-06-19 11:02:00 +02:00
Sebastian Dröge
e4730e205f
shapewipe: Implement basic QoS
...
This change is based on Tim's QoS implementation
for jpegdec.
2009-06-19 11:02:00 +02:00
Sebastian Dröge
02b9686463
shapewipe: Proxy queries on the video pads to the correct peers
2009-06-19 11:02:00 +02:00
Sebastian Dröge
09094f2f3d
shapewipe: Proxy bufferalloc on the video sinkpad
2009-06-19 11:02:00 +02:00
Sebastian Dröge
80d5bd7168
shapewipe: Try to work inplace if possible
...
This saves one new, large allocation per frame for the
most cases.
2009-06-19 11:01:59 +02:00
Tim-Philipp Müller
3b99292629
mxfdemux: fix stray semicolons that mess up if statement
2009-06-18 21:17:24 +01:00
Stefan Kost
2bb31a8d4a
camerabin: reset filename after capture to avoid racy when capturing again
...
If we don't reset the filename we cannot check if we still expect the filename
for a subsequent capture pass. The imagebin would good to paused and we set the
filename in that state. This trigers an error-message and would capture to the
old filename.
2009-06-16 19:14:25 +01:00
Stefan Kost
80408b1de2
camerabin: set imagebin to PAUSED on capture and delayed filename setting
...
We need to set imagebin to PAUSED to not fail the bufferalloc. We also need to
keep the filesinks state locked until we have the filename for the run.
2009-06-14 10:56:30 +03:00
Stefan Kost
1187b88acd
outputselector: do the pad_alloc for the pad that is pending and have a fallback
...
We should do the pad_alloc for the pending pad if any, as we will switch to that
pad on next _chain() call. Also do a fallback alloc, if there is no output yet to
not fail state transitions in dynamic pipelines.
2009-06-14 10:56:23 +03:00
LRN
7b28f931bb
Added base libs to debug utils makefile
...
Fixes #585015
2009-06-07 23:01:30 +02:00
Edward Hervey
4f0b03d357
hdvparse: Link against libm because we use pow().
2009-06-06 19:28:07 +02:00
Tim-Philipp Müller
e2ef7a2a8a
id3mux: init genre field in ID3v1 tag to an invalid number
...
So that it is not interpreted as 'Blues' if no genre is to be written.
2009-06-06 02:35:35 +01:00
Tim-Philipp Müller
75cc0245fa
id3mux: don't write ID3v1 tag until specifically instructed to do so
...
ID3v1 tags are one of the most broken and ill-designed things that
exist on this planet. Let's not write them by default.
2009-06-06 02:13:13 +01:00
Tim-Philipp Müller
73f231fac9
id3mux: don't write empty ID3v1 tag
2009-06-06 02:13:13 +01:00
Tim-Philipp Müller
09a304b39a
id3tag: rename new id3tag element to id3mux replacing the one removed from -ugly
2009-06-06 02:13:07 +01:00
Jan Schmidt
def9b999d9
nsf: Fix compiler warning on Solaris.
...
A SEC() macro already exists on Solaris, causing warnings about
redefining it.
2009-06-05 23:52:49 +01:00
Edward Hervey
0aa62012c6
hdvparse: Fix the build on Commander Thaytan's S10SP
2009-06-05 22:20:46 +02:00
Stefan Kost
4d9a0e832c
camerabin: fix link order
...
Move local version up in the link order.
2009-06-05 21:29:46 +03:00
Edward Hervey
0e1ee9031a
hdvparse: Emit a GST_MESSAGE_ELEMENT with some goodness in it.
2009-06-05 20:23:44 +02:00
Edward Hervey
37254a21f4
mpegvideoparse: Add methods to get names of various values.
2009-06-05 20:23:44 +02:00
Edward Hervey
22496517e0
mpegtsdemux: Fix HDV private stream definition/caps.
2009-06-05 20:23:44 +02:00
Edward Hervey
c4ef659ebd
hdvparse: Rewrite from scratch. Handle both hdv-a and hdv-v
...
This time we analyze a lot more information.
Still need to re-add the message emission.
2009-06-05 20:23:44 +02:00
Lasse Laukkanen
6a47f6f594
camerabin: preview image sending optimization
...
* decouple image capturing from image post-processing and encoding
* post image-captured message after image is captured
* post preview-image message with snapshot of captured image
2009-06-05 15:51:31 +03:00
Lasse Laukkanen
bbf48697fb
camerabin: don't lose post processing element in first reset
2009-06-05 15:51:31 +03:00
Lasse Laukkanen
683b72a5fe
camerabin: add debug including dot graph writing
2009-06-05 15:51:31 +03:00
Lasse Laukkanen
430f343522
camerabin: unblock if error occurs during capture
2009-06-05 15:51:31 +03:00
Lasse Laukkanen
ca4bfb2e47
camerabin: ignore night mode handling if already in night mode
2009-06-05 15:51:31 +03:00
Lasse Laukkanen
cbcd4e3330
camerabin: stop ongoing capture if changing resolution
2009-06-05 15:51:30 +03:00
Lasse Laukkanen
cad76384b3
camerabin: limit the size of video bin queue leading to view finder
...
We don't want to show old buffers in view finder.
2009-06-05 15:51:30 +03:00
Lasse Laukkanen
3ff7128293
camerabin: don't proxy gst xoverlay interface
...
Default view finder sink in camerabin is autovideosink which doesn't
support xoverlay iface. If application decides to use another sink
that supports xoverlay, then it can use the interface directly.
2009-06-05 15:51:30 +03:00
Lasse Laukkanen
710faaef68
camerabin: allow configuring photography settings when in NULL state
...
Cache the photography settings if set in NULL state and apply them later
2009-06-05 15:51:30 +03:00
Lasse Laukkanen
53e6e4b0d5
camerabin: crop still image capture frame if necessary
...
If incoming still image capture frame aspect ratio differs from aspect
ratio that application requested, then apply crop to the frame.
2009-06-05 15:51:30 +03:00
Lasse Laukkanen
d8013c1b76
output-selector: serialize setting and actual changing of new active pad
2009-06-05 10:00:38 +03:00
Lasse Laukkanen
97ccdf9460
output-selector: unref latest buffer also when resending has been disabled
2009-06-05 10:00:29 +03:00
Lasse Laukkanen
ab169897b3
output-selector: keep ref to buffer for resending only if explicitly requested
2009-06-05 10:00:14 +03:00
Wim Taymans
eff6395328
inputselector: don't leak pads in iterator
2009-06-04 19:09:34 +02:00
Jan Schmidt
8eac0482fd
mpegdemux: Add a GST_MEMDUMP line in the descriptor parsing
...
Make it possible to see descriptor contents in the debug output
(GST_DEBUG=mpegtsdesc:9), and remove a stray semi-colon.
2009-06-04 16:29:31 +01:00
Jan Schmidt
b8eb0d5dbb
mpegtsdemux: Avoid passing the custom GST_FLOW_NEED_MORE_DATA upstream
...
Don't return GST_FLOW_NEED_MORE_DATA from the chain function at the end
of files.
2009-06-04 16:11:16 +01:00
Sebastian Dröge
a0ad632320
inputselector: Notify when the tags property of the selector sinkpads changes
...
First part of bug #584686 .
2009-06-04 08:57:25 +02:00
Christian Schaller
b14110f1be
dvdspu: add missing header to Makefile.am: gstspu-common.h
2009-06-02 11:23:37 +01:00
Tim-Philipp Müller
bb95218b73
aacparse: fix sample rate extraction from codec data
...
In one case we extracted the sample rate index from the codec data
and saved it as sample rate rather than getting the real sample
rate from the table. Fix that, and also make sure we don't access
non-existant table entries by adding a small helper function that
guards against out-of-bounds access in case of invalid input data.
2009-06-02 00:56:53 +01:00
Tim-Philipp Müller
52904d7175
aacparse, amrparse: remove bogus gst_pad_fixate_caps() calls
2009-06-02 00:56:53 +01:00
Tim-Philipp Müller
44cee1789c
baseparse: propagate return value of GstBaseParse::set_sink_caps()
...
gst_base_parse_sink_setcaps() presumably should fail if the subclass
returns FALSE from its ::set_sink_caps() function.
2009-06-02 00:56:53 +01:00
Tim-Philipp Müller
279727d777
baseparse: don't try to GST_LOG an already-freed caps string
...
The proper way to log caps is via GST_PTR_FORMAT anyway.
2009-06-02 00:56:53 +01:00
Tim-Philipp Müller
f5a03ec2a6
aacparse: set channels and rate on output caps, and keep codec_data
...
Create output caps from input caps, so we maintain any fields we
might get on the input caps, such as codec_data or rate and channels.
Set channels and rate on the output caps if we don't have input caps
or they don't contain such fields. We do this partly because we can,
but also because some muxers need this information. Tagreadbin will
also be happy about this.
2009-06-02 00:56:52 +01:00
Mark Nauwelaerts
7f82fe3b46
gppmux: enhance ftyp brand heuristic. Fixes #584360 .
2009-06-01 22:42:44 +02:00
Sebastian Dröge
7709bf5f2a
shapewipe: Fix some issues that were exposed by the new unit test
2009-06-01 21:25:13 +02:00
Sebastian Dröge
6e9d79e08c
shapewipe: Add documentation and integrate into the build system
2009-06-01 21:25:12 +02:00
Tim-Philipp Müller
7c5ff224fc
sdpdemux: include glib.h before checking if G_OS_WIN32 is defined
2009-05-31 20:24:44 +01:00
Edward Hervey
c80da130d5
hdvparse: Setting rank to NONE so it doesn't get picked up by playbin2.
2009-05-31 18:23:50 +02:00
Edward Hervey
5df5059d56
hdvparse: Emit application message with the parsed information.
2009-05-31 18:23:08 +02:00
Edward Hervey
c6cd4d09e2
hdvparse: New element for parsing private/hdv-a1 streams.
2009-05-31 14:15:43 +02:00