Commit graph

2744 commits

Author SHA1 Message Date
Rob Clark
c3156f0663 fix compile error with trace macro
Note that this one isn't a problem with normal trace macros, but causes problems with
some replacement trace macros that I use, which expect the format string to be
appendable (ie "foo "fmt in the macro)

https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:03 +01:00
Rob Clark
79faa0b9fa mpeg4videoparse: fix compile error
gst/mpeg4videoparse/mpeg4videoparse.c:689: warning: comparison is always true due to limited range of data type

https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:01 +01:00
Rob Clark
71d0e513fa qtmux: fix compile error
gst/qtmux/gstqtmoovrecover.c:268: warning: format not a string literal and no format arguments

https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:00 +01:00
Stefan Kost
da3a8fe0fc invtelecine: inlcude stdlib.h for abs() 2010-03-11 11:14:53 +02:00
Lasse Laukkanen
190d54b096 camerabin: refactor cropping and adapting captured images 2010-03-11 10:36:27 +02:00
Teemu Katajisto
341d91520a camerabin: fix NULL -> READY state change failure handling.
In some error situations the NULL -> READY state change failed
and camerabin elements were not destroyed.
2010-03-11 10:36:26 +02:00
Lasse Laukkanen
58bf3be730 camerabin: don't use gst_bus_poll() when creating preview image
Avoid using gst_bus_poll() as the docs recommend. Use
gst_bus_timed_pop_filtered() instead.
2010-03-11 10:36:26 +02:00
Víctor Manuel Jáquez Leal
f968ae6e72 inputselector: fix the LDFLAGS 2010-03-09 21:58:52 +00:00
Sebastian Dröge
31f4ac7b30 frei0r: Sync properties to the controller if one was set 2010-03-09 21:05:50 +00:00
Sebastian Dröge
125efbffcc frei0r: Protect set/get property and processing functions from concurrent access
The frei0r documentation says that these functions must not be called
on the same instance from different threads at the same time. All
other functions are guaranteed to be threadsafe.
2010-03-09 21:05:50 +00:00
David Schleef
e98fc783c8 invtelecine: Add invtelecine element
Automatic inverse telecine element.  Right now, it clumsily attempts
to rearrange video fields into frames that don't have combing effects,
and only works with 60i/24p content at 720x480.  Later, it will handle
other pulldown variations, change caps and smooth timestamps
appropriately.
2010-03-09 12:34:36 -08:00
Benjamin Otte
87dbb0ab9d wmnc: Update description 2010-03-09 19:16:30 +01:00
Benjamin Otte
2bc4626f73 nuvdemux: Update plugin description 2010-03-09 19:16:30 +01:00
Benjamin Otte
1982ca6e51 nsf: Name the plugin nsf, not nsfdec
The plugin in gstnsf.so should be named nsf, not nsfdec.
2010-03-09 19:16:30 +01:00
Thiago Santos
4a629eea25 qtmux: Rename 'avc-sample' to 'avc' in caps
Fixes #606662
2010-03-01 17:59:13 -03:00
Thiago Santos
55e2adda37 h264parse: Replace 'avc-sample' with 'avc' in caps
Fixes #606662
2010-03-01 17:59:10 -03:00
Michael Smith
bcdb7d4851 qtmux: Take lock around use of (non-threadsafe) tagsetter interface. 2010-02-26 11:50:25 -08:00
Thiago Santos
0922dbc22e qtmux: write all udta children atoms
UDTA might have META and other children atoms
together, write them all.
2010-02-22 16:51:00 -03:00
Thiago Santos
ca136fe76b qtmux: Use internal sink pads list
Due to GstCollectPads sink pads list being not reliably
iteratable (when not inside the collected function) this
patch adds a sink pads list to qtmux to be used when iterating
sink pads on reset function.

Fixes #609055
2010-02-22 10:50:49 -03:00
Tim-Philipp Müller
7c890c0b91 fpsdisplaysink: fix NULL ref and error handling if no video sink is found
If no video sink is set and autovideosink is not available for some
reason, post a proper error message on the bus when failing to
change state, and don't try to gst_object_ref() NULL pointers. Fixes
generic/states unit test when distchecking.
2010-02-19 10:35:10 +00:00
Stefan Kost
caf2be2115 jpegparse: return offset+length from _get_image_length().
_find_end_marker() find the position of the marker. EOI has a fixed length of 2
bytes that where missing. Fixes #608998
2010-02-17 13:12:00 +02:00
Tim-Philipp Müller
3e45e6ba9f jpegparse: fix invalid memory access
See bug #608998.
2010-02-17 01:32:12 +00:00
Mark Nauwelaerts
1da893ba68 qtmux: prevent leaking hdlr name 2010-02-16 17:13:09 +01:00
Mark Nauwelaerts
eed915a6fb qtmux: support for ALAC
Fixes #580731.
2010-02-16 16:26:48 +01:00
Mark Nauwelaerts
fdfdda8f09 qtmux: refactor building stsd entry 'wave' extension 2010-02-16 16:26:45 +01:00
Edward Hervey
31d3ec392f hdvparse: Fix field error.
Spotted by Burkhard Plaum
2010-02-15 09:36:35 +01:00
Sebastian Dröge
f79842e308 Moved 'shapewipe' from -bad to -good
Fixes bug #584536.
2010-02-12 11:35:17 +01:00
Sebastian Dröge
88af663e86 shapewipe: Preserve the input color values in all cases 2010-02-10 10:52:53 +01:00
Sebastian Dröge
dc551ed30f shapewipe: Scale mask alpha values by the source alpha values 2010-02-10 10:50:49 +01:00
Sebastian Dröge
6ef01b3c59 shapewipe: Fix ARGB processing 2010-02-10 10:42:32 +01:00
Sebastian Dröge
e1c1a6c874 mpegtsdemux: Never flush more bytes than available
This could happen if the input doesn't contain any MPEG TS
data and the complete adapter content should be skipped.
2010-02-09 15:24:28 +01:00
Thiago Santos
bcbdd12fb3 qtmux: atomsrecovery: Fix compilation problem
Fixes a compilation error due to unused function result.
2010-02-08 11:51:52 -03:00
Sebastian Dröge
ad7eff41a8 shapewipe: Improve/add debug output 2010-02-08 08:26:33 +01:00
Sebastian Dröge
364c53fd61 shapewipe: Always hold the mask mutex before signalling the GCond 2010-02-08 08:20:44 +01:00
Sebastian Dröge
d875dce9bb shapewipe: Move chain function error cases at the end of the function and add useful debug output 2010-02-08 08:19:48 +01:00
Sebastian Dröge
8d213d51f6 shapewipe: Fix race condition during shutdown that can lead to a deadlock 2010-02-08 08:12:11 +01:00
Sebastian Dröge
2d1f06103a shapewipe: Drop mask buffer on FLUSH events 2010-02-08 08:11:33 +01:00
Sebastian Dröge
6df5795651 shapewipe: Update copyright year 2010-02-08 08:09:55 +01:00
Sebastian Dröge
87216b83b9 shapewipe: Don't reset properties when going PAUSED->READY
Also use defines for the default values of the properties.
2010-02-08 08:08:44 +01:00
Tim-Philipp Müller
a60d54c4e2 jpegparse: lower rank to NONE so it is not autoplugged for decoding
This element is too new and too untested to have it autoplugged.
2010-02-07 10:19:06 +01:00
Julien Moutte
d8117471f6 mpegtsmux: Fix a potential unref of a NULL pointer.
At first iteration we don't have any cached SPS/PPS buffer to free.
2010-02-04 19:45:42 +01:00
Marc-André Lureau
4d3a965476 mpegtsmux: add PAT/PMT in streamheader
The check for PAT/PMT buffers was suggested by
Zaheer Abbas Merali.

https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:15 +00:00
Marc-André Lureau
1537023905 mpegtsmux: add pat-interval and pmt-interval properties
https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:12 +00:00
Marc-André Lureau
130cf80752 mpegtsmux: fix PAT/PMT insertion frequency
The current code is comparing timestamps with different clock.
Let's use only the clock for PTS values.

Also rename frequency to interval, to avoid confusion. And remove
documentation about value 0, which won't work like documented.

https://bugzilla.gnome.org/show_bug.cgi?id=608896
2010-02-03 18:26:09 +00:00
Marc-André Lureau
6d554a5560 mpegtsmux: marking non-delta unit, including pre-sections
This patch address the issue observed with KF timestamps
and delta flag. When a section is appended before the keyframe,
it is not marked as non-delta. It's preferable to mark the
first buffer non-delta.

This patch also simplify the initial patch written by thomas,
since it does not clutter tsmux/ with a delta flag passed
around only for GStreamer convenience.

https://bugzilla.gnome.org/show_bug.cgi?id=604908
2010-02-03 16:37:27 +00:00
Stefan Kost
6c6ea0b79b jpegformat: add a basic jifmuxer
The new element can chop and reassemble the markers. I implements the tagsetter
and for now can serialize some tags to jpeg comments.
2010-02-03 15:13:30 +02:00
Thiago Santos
e1c1405396 qtmux: Adds moov recovery feature
Adds a new property to qtmux that sets a path to a file to write
and update data about the moov atom (that is not writen till the
end of the file). If the pipeline/app crashes during execution it
might be possible to recover the movie using the qtmoovrecover element.

qtmoovrecover is an element that is also a pipeline. It is not
meant to be used with other elements (it has no pads). It is merely
a tool/utilitary to recover unfinished qtmux files.

Fixes #601576
2010-02-02 14:03:38 -03:00
Stefan Kost
b9f8f5d281 jpegparse: improve parsing
Handle more app maker. Print app marker names to debug log. Remember last_marker
when parsing to avoid reparsing from the very begin.
2010-02-02 17:19:31 +02:00
Julien Moutte
6f1ee59df6 mpegtsmux: generate SPS/PPS header once and fix overflow
Some H264 packets can be as small as 5 bytes for repeated frames.
In such a situation the output buffer size was not big enough (5*2) to fit the
SPS/PPS header and the start codes. This corrupts the ES stream.
We now generate the SPS/PPS only once which is much more optimal and we now
know the size of the header to calculate the output buffer size more safely.
2010-02-02 12:23:24 +01:00
Michael Smith
80b3d80a58 qtmux: for fixed-sample size streams (PCM audio, etc) don't allocate an enormous
buffer that we then won't use at all.
2010-02-01 16:24:39 -08:00