Commit graph

6557 commits

Author SHA1 Message Date
Sebastian Dröge
7a30947913 mxf: Properly handle the new interlaced support from libgstvideo for (de)muxing 2009-04-16 22:14:15 +02:00
Sebastian Dröge
a32e180155 deinterlace2: Rename line_length to row_stride and remove output_stride 2009-04-16 17:42:27 +02:00
Sebastian Dröge
ffaef58b59 deinterlace2: Implement support for RFF and ONEFIELD buffer flags 2009-04-16 17:42:27 +02:00
Stefan Kost
e01373662a fpsdisplaysink: add a initial port of a sink with fps display
This now works with a event probe. Needs some extra work.
2009-04-16 18:39:29 +03:00
Lasse Laukkanen
78b208125a camerabin: clean up and fix assertion fail when setting zoom in NULL state 2009-04-16 16:08:42 +03:00
Lasse Laukkanen
9b0fa11a5d camerabin: fix format matching when detecting allowed frame rate 2009-04-16 16:08:41 +03:00
Lasse Laukkanen
0847a84f41 camerabin: don't lose pending state when changing resolution 2009-04-16 16:08:40 +03:00
Lasse Laukkanen
65ddcd6d5d camerabin: change img-done signal parameter from GString* to const gchar*
Don't allow setting filename via img-done signal parameter but force app
use filename property. Don't stop capture when setting filename property.
Update check unit test based on the change.
2009-04-16 15:19:20 +03:00
Olivier Crête
d8ba5624ce rtpmux: Add GST_DEBUG_FUNCPTRs 2009-04-15 13:23:01 -04:00
Olivier Crête
66fca81e23 rtpdtmfmux: Release locked pad on release_pad
Release the special pad if the pad is removed from the muxer.
2009-04-15 13:15:55 -04:00
Laurent Glayal
65cb85316b rtpdtmfmux: Release special on pad dispose
Fixes #577690
2009-04-15 13:11:32 -04:00
Wim Taymans
a2fdf5648f jitterbuffer: prevent overflow in EOS estimation
Use a guint64 instead of a guint to hold a 64bit value to prevent completely
bogues EOS estimation values due to overflows.
2009-04-15 18:14:48 +02:00
Wim Taymans
ba6b41dad4 rtpbin: we should not provide a clock
There is no need to provide a clock.
2009-04-15 17:44:17 +02:00
Wim Taymans
f7af854c28 jitterbuffer: more estimated EOS fixes
Do more accurate EOS estimate and guard against backward timestamps.
2009-04-15 17:28:56 +02:00
Wim Taymans
87da61f965 jitterbuffer: release lock before pushing EOS
Make sure we release the jitterbuffer lock before we start pushing out data
because else we might deadlock.
2009-04-15 17:25:02 +02:00
Sebastian Dröge
e539615c79 deinterlace2: Move output buffer from the instance struct to a function parameter 2009-04-15 15:46:44 +02:00
Sebastian Dröge
b66a6f90be deinterlace2: Add initial support for automatic detection of the field order 2009-04-15 15:33:17 +02:00
Sebastian Dröge
5a95bac390 deinterlace2: Add support for YVYU colorspace
This is the same as YUY2 with just Cr and Cb swapped. As
we don't make a difference between them when deinterlacing
this works.
2009-04-15 14:47:49 +02:00
Sebastian Dröge
50424e44ad mxfmux: Small cleanup 2009-04-13 13:33:00 +02:00
Tim-Philipp Müller
2b1fcc75a7 dshowdec: fix compilation with the debugging system disabled
One GST_DEBUG_CATEGORY_INIT should be enough anyway.
Fixes #578562 (spotted by David Hoyt).
2009-04-10 18:00:06 +01:00
Janin Kolenc
dde471ab49 x264enc: add force keyframe event handling
Use the GstForceKeyUnit event to force a keyframe.
Fixes #578112.
2009-04-09 23:53:39 +02:00
Michael Smith
cacadf3f4d acmenc, acmmp3dec, sdp: link to all requires libraries on win32.
Add winsock for windows (for sdp). Link to all the plugins-base
libs we indirectly use for acmmenc and acmmp3dec.
2009-04-08 11:57:02 -07:00
Sebastian Dröge
96d4ee8086 mxf: Add unit tests for checking if mxfmux ! mxfdemux pipelines are working without errors 2009-04-07 15:50:37 +02:00
Sebastian Dröge
0fa50e9d77 mxfdemux: Don't use invalid buffer offsets, instead assume offset == 0 2009-04-07 15:49:00 +02:00
Sebastian Dröge
acc912599d mxf: Fix comparison 2009-04-07 15:45:50 +02:00
Sebastian Dröge
83324d6788 Use UL database for all metadata ULs 2009-04-07 15:20:10 +02:00
René Stadler
d5216a1a66 baseparse: Fix slightly broken buffer-in-segment check (aacparse, amrparse, flacparse) 2009-04-07 05:41:46 +03:00
René Stadler
0293f54d06 baseparse: Fix push mode seeking (aacparse, amrparse)
Sending the flush-start event forward before taking the stream lock actually
works, in contrast to deadlocking in downstream preroll_wait (hunk 1).

After that we get the chain function being stuck in a busy loop. This is fixed
by updating the minimum frame size inside the synchronization loop because the
subclass asks for more data in this way (hunk 2).

Finally, this leads to a very probable crash because the subclass can find a
valid frame with a size greater than the currently available data in the
adapter. This makes the subsequent gst_adapter_take_buffer call return NULL,
which is not expected (hunk 3).
2009-04-05 05:26:09 +03:00
Felipe Contreras
9c6e21d1f6 Automatic update of common submodule
From d0ea89e to b3941ea
2009-04-04 21:19:11 +03:00
Tim-Philipp Müller
788fed202d bz2: fix some refcount mistakes and do some cleaning up
No need to unref buffers if pad_push returns something non-FLOW_OK.
In fact, this will cause assertions or crashes. However, we do need
to unref the input buffer whenever we don't pass it downstream. Also,
a non-OK flow return is not an error, so don't post error messages on
the bus - the pipeline may just be shutting down. Miscellaneous other
clean-ups and crack removal. Plenty of work left for those who feel
like it.
2009-04-04 19:00:18 +01:00
Edward Hervey
0eea919fae Automatic update of common submodule
From f8b3d91 to d0ea89e
2009-04-04 14:54:25 +02:00
Tim-Philipp Müller
8268261fdb configure.ac: fix dvdnav version check
Fixes #577864. This time for real.
2009-04-03 23:10:28 +01:00
Tim-Philipp Müller
e55f069fe6 resindvd: require libdvdnav >= 4.1.2 for dvdnav_get_current_time()
Fixes #577864.
2009-04-03 18:13:00 +01:00
Jan Schmidt
bbba3aa121 misc: Bump plugins-base requirement to 0.10.22.1 2009-04-03 10:29:53 +01:00
Jan Schmidt
70bdf00200 resindvd: Send both the logical and physical substream ID in the stream change.
When sending the stream change message(s) to the demuxer, also include the
logical stream id along with the physical ID, so that the demuxer can remap
logical->physical MPEG stream ID.
2009-04-02 14:49:54 +01:00
Jan Schmidt
0cf5e27b5b resindvd: Use new GstNavigation functionality.
Handle the new DVD commands, so that we can handle commands from a player
to change angle, jump to menus etc. Use the new GstNavigation event parsing
functions, instead of hand-rolled stuff.

Send GstNavigation notification messages when the mouse enters a button
or leaves it, so UI can turn the mouse cursor to a hand icon.
2009-04-02 14:49:39 +01:00
Jan Schmidt
97a1f14fc0 resindvd: Switch to using a hard-coded mpeg2dec, and change pad blocking a bit.
Change the pad blocking behaviour during startup, and use a hard-coded mpeg2dec (for the moment), in order to make things work with playbin2.
2009-04-02 14:49:24 +01:00
Jan Schmidt
1c6529e93e resindvd: Add newline to debug g_print statement 2009-04-02 14:49:20 +01:00
Jan Schmidt
b9c4db5d53 resindvd: Make highlights work when jumping into menus
Make the highlights re-appear correctly when jumping back into menus
by making sure to set the flushing_seek flag for user-action initiated
seeks.
Fiddle some debug related to tracking down the issue.
2009-04-02 14:49:20 +01:00
Jan Schmidt
85db327e82 resindvd: Support multiangle titles.
Add a workaround for an apparent libdvdnav bug where it loses nav packets
during multiangle titles, and add some keypress bindings to switch the angle.
2009-04-02 14:49:19 +01:00
Jan Schmidt
5f789d3075 resindvd: Add back in support for using hardcoded a52dec 2009-04-02 14:49:04 +01:00
Jan Schmidt
2e4c08fbbe resindvd: Add some debug when creating the output pads in the demuxer 2009-04-02 14:48:23 +01:00
Jan Schmidt
4a320ec12a resindvd: More hacking on the audio decoder. 2009-04-02 14:48:12 +01:00
Jan Schmidt
12625af8d8 resindvd: Trim back the g_print debug - convert to GST_DEBUG and GST_LOG 2009-04-02 14:48:09 +01:00
Jan Schmidt
09b41120e4 resindvd: Extend the Resin audio decoder element, and switch rsndvdbin to use it 2009-04-02 14:48:00 +01:00
Jan Schmidt
7d33cf22a9 resindvd: First part of the re-plugging audio decoder 2009-04-02 14:46:54 +01:00
Jan Schmidt
093f844640 resindvd: remove unused code path from the bin 2009-04-02 14:46:54 +01:00
Jan Schmidt
b6b2677857 resindvd: Indent some things 2009-04-02 14:46:53 +01:00
Jan Schmidt
15792ae809 resindvd: Switch GST_BOILERPLATE to G_DEFINE_TYPE for no real reason. 2009-04-02 14:46:53 +01:00
Jan Schmidt
8244a3d688 resindvd: Add faststart, and work around some multi-angle issues
Add a 'fast-start' property to the rsndvdsrc element, that attempts to
jump directly to the DVD menu when starting. Doesn't work correctly on all
titles yet.

Add workarounds for issues with multiple angles in libdvdnav: Use a heuristic
to avoid detecting discontinuities during multiple-angle titles, it seems
caused by libdvdnav losing some NAV packets in multiangle titles. Fix
seeking in multi-angle titles by aligning our sector calculation logic
with libdvdnav's. Also, use libdvdnav's dvdnav_get_current_time() method
to determine the logical position of the current cell when it changes, as the
cell_start value in the cell_change event provides a number that doesn't
compensate for angle cell blocks.
2009-04-02 14:46:35 +01:00