platform/upstream/gstreamer.git
15 years ago[MOVED FROM GST-P-FARSIGHT] Robustness check, make sure the queue is not empty before...
Youness Alaoui [Tue, 29 Apr 2008 00:36:00 +0000 (00:36 +0000)]
[MOVED FROM GST-P-FARSIGHT] Robustness check, make sure the queue is not empty before using the head element

20080429003600-4f0f6-708c654b65812caeb3612248dbe0b2e62567c250.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Remove useless condition
Youness Alaoui [Tue, 29 Apr 2008 00:34:12 +0000 (00:34 +0000)]
[MOVED FROM GST-P-FARSIGHT] Remove useless condition

20080429003412-4f0f6-9e890ad0ac442791a8b22650a75cb754d7f2d723.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] check against audio_buffer_clip which can return NULL...
Youness Alaoui [Tue, 29 Apr 2008 00:03:39 +0000 (00:03 +0000)]
[MOVED FROM GST-P-FARSIGHT] check against audio_buffer_clip which can return NULL if the buffer is outside the clipping segment

20080429000339-4f0f6-7e4e31f066b87e29265ddb3978929e51efbff47d.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Fix object locking in setcaps
Youness Alaoui [Mon, 28 Apr 2008 23:49:48 +0000 (23:49 +0000)]
[MOVED FROM GST-P-FARSIGHT] Fix object locking in setcaps

20080428234948-4f0f6-4586434b4308e114f495e926996fc19483c1056f.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Use g_cond_broadcast instead of g_cond_signal
Youness Alaoui [Mon, 28 Apr 2008 23:49:35 +0000 (23:49 +0000)]
[MOVED FROM GST-P-FARSIGHT] Use g_cond_broadcast instead of g_cond_signal

20080428234935-4f0f6-e51fab31772b32f2fb080ad70c6bedefc5c26dc6.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Max latency should also be increased by our own latency
Youness Alaoui [Mon, 28 Apr 2008 23:28:51 +0000 (23:28 +0000)]
[MOVED FROM GST-P-FARSIGHT] Max latency should also be increased by our own latency

20080428232851-4f0f6-05f9a89403cd54211f2f4a6595704270eab9616f.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Fix deadlock on invalid timestamp error
Olivier Crete [Mon, 28 Apr 2008 22:36:06 +0000 (22:36 +0000)]
[MOVED FROM GST-P-FARSIGHT] Fix deadlock on invalid timestamp error

20080428223606-3e2dc-963e48b33efaf84c16d4ec4b789a6dfb2d9358ad.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Added comment for clarity
Youness Alaoui [Mon, 28 Apr 2008 16:19:58 +0000 (16:19 +0000)]
[MOVED FROM GST-P-FARSIGHT] Added comment for clarity

20080428161958-4f0f6-cbaa166fbde99013b555c69ab48d964d75773a7f.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] added TODO comments
Youness Alaoui [Mon, 28 Apr 2008 16:12:35 +0000 (16:12 +0000)]
[MOVED FROM GST-P-FARSIGHT] added TODO comments

20080428161235-4f0f6-fbc78533d29d37b65add6f6046fec17ce5e30cae.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] check_eos will always return FALSE here..
Youness Alaoui [Mon, 28 Apr 2008 15:59:27 +0000 (15:59 +0000)]
[MOVED FROM GST-P-FARSIGHT] check_eos will always return FALSE here..

20080428155927-4f0f6-1a93e295d3df68a96367b75060a89a947efa8944.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] added comment on the no clock error
Youness Alaoui [Mon, 28 Apr 2008 15:49:56 +0000 (15:49 +0000)]
[MOVED FROM GST-P-FARSIGHT] added comment on the no clock error

20080428154956-4f0f6-7e24ed31f9c822e4323b681a54bc23f03c1a325e.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] error if no clock is available
Youness Alaoui [Mon, 28 Apr 2008 15:48:50 +0000 (15:48 +0000)]
[MOVED FROM GST-P-FARSIGHT] error if no clock is available

20080428154850-4f0f6-38fdc4134835c457d0054301579d8cd4cbd4989a.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] renaming unused arg
Youness Alaoui [Fri, 25 Apr 2008 21:04:56 +0000 (21:04 +0000)]
[MOVED FROM GST-P-FARSIGHT] renaming unused arg

20080425210456-4f0f6-ab1cdc944c9bcd779504292b21dc1787d6cb62a1.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] removed unused user_data and commented line
Youness Alaoui [Fri, 25 Apr 2008 20:39:38 +0000 (20:39 +0000)]
[MOVED FROM GST-P-FARSIGHT] removed unused user_data and commented line

20080425203938-4f0f6-787778475b646461da40f3e0000a10bc96e142bc.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] remove unused cases and empty switch
Youness Alaoui [Fri, 25 Apr 2008 20:37:35 +0000 (20:37 +0000)]
[MOVED FROM GST-P-FARSIGHT] remove unused cases and empty switch

20080425203735-4f0f6-c0442fcf57e3f08b81bc1be3d69f5cfa0257b52a.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Explicit the discont flag mangling
Olivier Crete [Mon, 28 Apr 2008 18:34:09 +0000 (18:34 +0000)]
[MOVED FROM GST-P-FARSIGHT] Explicit the discont flag mangling

20080428183409-3e2dc-4db2505eeca033a634253b6c2d2f4f1398e9fcca.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Unref events when they are dropped
Olivier Crete [Mon, 28 Apr 2008 18:07:11 +0000 (18:07 +0000)]
[MOVED FROM GST-P-FARSIGHT] Unref events when they are dropped

20080428180711-3e2dc-eb659787f179562f15402c819f188de398deef2d.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Use Glib G_{MAX,MIN}{U,}INT{8,16,32} macros
Olivier Crete [Thu, 24 Apr 2008 22:46:27 +0000 (22:46 +0000)]
[MOVED FROM GST-P-FARSIGHT] Use Glib G_{MAX,MIN}{U,}INT{8,16,32} macros

20080424224627-3e2dc-1036bc58b6b4db2f9f12831cdbae3bc613facbbf.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Unlock liveadder empty buffer gcond on flush
Olivier Crete [Mon, 21 Apr 2008 03:26:14 +0000 (03:26 +0000)]
[MOVED FROM GST-P-FARSIGHT] Unlock liveadder empty buffer gcond on flush

20080421032614-3e2dc-4ed29e1583ff684338ba5d7611f60b1a7eaff563.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Unref event instead of leaking it
Olivier Crete [Fri, 18 Apr 2008 19:29:41 +0000 (19:29 +0000)]
[MOVED FROM GST-P-FARSIGHT] Unref event instead of leaking it

20080418192941-3e2dc-352e25f6ab291612be1dc139790303a1333f65d7.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] non-perfect stream isnt an error, lets just log it
Olivier Crete [Thu, 3 Apr 2008 17:09:56 +0000 (17:09 +0000)]
[MOVED FROM GST-P-FARSIGHT] non-perfect stream isnt an error, lets just log it

20080403170956-3e2dc-663f6af8ce067f44ca251a89aebf262d4b8a2869.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] We retimestamp to the running time, starting the segments...
Olivier Crete [Thu, 3 Apr 2008 16:54:31 +0000 (16:54 +0000)]
[MOVED FROM GST-P-FARSIGHT] We retimestamp to the running time, starting the segments from 0 should therefore work

20080403165431-3e2dc-d981ac2f9ea7fd3c8d2be4d22f1817cf78c614e4.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Do the min/max of the latencies correctly
Olivier Crete [Thu, 3 Apr 2008 16:54:15 +0000 (16:54 +0000)]
[MOVED FROM GST-P-FARSIGHT] Do the min/max of the latencies correctly

20080403165415-3e2dc-c1124bd84e67cf8a911a14bb123b8731da9f4fc4.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Fix indentation
Olivier Crete [Thu, 3 Apr 2008 02:14:25 +0000 (02:14 +0000)]
[MOVED FROM GST-P-FARSIGHT] Fix indentation

20080403021425-3e2dc-efd73a6eed0676e158af70484d4e5c42ea75de74.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Activate pads before adding them in case we're already...
Olivier Crete [Thu, 3 Apr 2008 02:03:18 +0000 (02:03 +0000)]
[MOVED FROM GST-P-FARSIGHT] Activate pads before adding them in case we're already playing

20080403020318-3e2dc-afd58f992c0b3057221b91034b2fcd91f296e52d.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] For latencies, use the min of the max and the max of...
Olivier Crete [Thu, 3 Apr 2008 02:02:53 +0000 (02:02 +0000)]
[MOVED FROM GST-P-FARSIGHT] For latencies, use the min of the max and the max of the min (and the min wins if they cross)

20080403020253-3e2dc-dda7e471073ee75a6f60e845c3c546af9be19675.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Rename next_ts into expected_ts, make sure all buffers...
Olivier Crete [Thu, 3 Apr 2008 00:57:28 +0000 (00:57 +0000)]
[MOVED FROM GST-P-FARSIGHT] Rename next_ts into expected_ts, make sure all buffers have a duration

20080403005728-3e2dc-8245ce1bfeebebfb8f75073253b3c0e3c4b5f596.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Don't try to set the discont flag if the duration of...
Olivier Crete [Thu, 3 Apr 2008 00:40:12 +0000 (00:40 +0000)]
[MOVED FROM GST-P-FARSIGHT] Don't try to set the discont flag if the duration of the previous incoming buffer was not valid

20080403004012-3e2dc-6f95520c928c347508bdf6188c873ed724ad2dd7.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Reset buffers offsets to none
Olivier Crete [Wed, 2 Apr 2008 22:46:27 +0000 (22:46 +0000)]
[MOVED FROM GST-P-FARSIGHT] Reset buffers offsets to none

20080402224627-3e2dc-d3ee8c7d0c14131017842d8159f7f684d0ccef6d.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Import adder src event handling
Olivier Crete [Wed, 2 Apr 2008 22:46:12 +0000 (22:46 +0000)]
[MOVED FROM GST-P-FARSIGHT] Import adder src event handling

20080402224612-3e2dc-21a682b18fe18782bf7fa48983c13c1ad86dc5a1.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Push out a simple newsegment event
Olivier Crete [Mon, 31 Mar 2008 18:44:21 +0000 (18:44 +0000)]
[MOVED FROM GST-P-FARSIGHT] Push out a simple newsegment event

20080331184421-3e2dc-69544b5b03ae3bb8c1e3f967974fd250d04056b5.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Don't return EOS if there is no sink pad
Olivier Crete [Mon, 31 Mar 2008 18:44:04 +0000 (18:44 +0000)]
[MOVED FROM GST-P-FARSIGHT] Don't return EOS if there is no sink pad

20080331184404-3e2dc-482a134b47eadcd9f1f9d144c02ab1145028fa07.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Reduce locking a bit and cleanup code a bit
Olivier Crete [Mon, 31 Mar 2008 17:11:16 +0000 (17:11 +0000)]
[MOVED FROM GST-P-FARSIGHT] Reduce locking a bit and cleanup code a bit

20080331171116-3e2dc-5ddfb0e459004780d3f7a660c64f58243936a844.gz

15 years ago[MOVED FROM GST-P-FARSIGHT] Add liveadder element
Olivier Crete [Sat, 29 Mar 2008 00:45:18 +0000 (00:45 +0000)]
[MOVED FROM GST-P-FARSIGHT] Add liveadder element

20080329004518-3e2dc-40e4746fe82bbc5a871f03fe6ff6048f436c9f85.gz

15 years agobpmdetect: Fix accidentally introduced stack overwriting introduced in last commit
Sebastian Dröge [Mon, 16 Feb 2009 15:08:31 +0000 (16:08 +0100)]
bpmdetect: Fix accidentally introduced stack overwriting introduced in last commit

15 years agobpmdetect: Save one memory allocation per stereo buffer
Sebastian Dröge [Mon, 16 Feb 2009 15:06:02 +0000 (16:06 +0100)]
bpmdetect: Save one memory allocation per stereo buffer

15 years agoscaletempo: Do not use void pointer arithmetic.
Michael Smith [Fri, 13 Feb 2009 20:18:48 +0000 (12:18 -0800)]
scaletempo: Do not use void pointer arithmetic.

15 years agodshowvideosink: Return ASYNC appropriately from change_state.
Michael Smith [Fri, 13 Feb 2009 01:31:50 +0000 (17:31 -0800)]
dshowvideosink: Return ASYNC appropriately from change_state.

Make sure we don't do the wrong thing when our base class is returning
ASYNC in state changes.

15 years agodshowdecwrapper: fix compilation.
Michael Smith [Thu, 12 Feb 2009 23:01:48 +0000 (15:01 -0800)]
dshowdecwrapper: fix compilation.

Accidently merged part of one change; remove it.

15 years agoMake the demuxer reusable in READY->PLAYING->READY->PLAYING cycles by
Julien Moutte [Thu, 12 Feb 2009 21:40:48 +0000 (22:40 +0100)]
Make the demuxer reusable in READY->PLAYING->READY->PLAYING cycles by
flushing adapters correctly.

15 years agomxfdemux: Also include the picture/sound/data essence coding in the unknown caps
Sebastian Dröge [Thu, 12 Feb 2009 09:53:56 +0000 (10:53 +0100)]
mxfdemux: Also include the picture/sound/data essence coding in the unknown caps

15 years agomxfdemux: Update TODO, we should support the drop-frame property of timecode tracks
Sebastian Dröge [Thu, 12 Feb 2009 08:46:06 +0000 (09:46 +0100)]
mxfdemux: Update TODO, we should support the drop-frame property of timecode tracks

15 years agomxfdemux: Fix resolval of identifications from the preface
Sebastian Dröge [Thu, 12 Feb 2009 07:46:32 +0000 (08:46 +0100)]
mxfdemux: Fix resolval of identifications from the preface

15 years agomxfdemux: Parse MXFTimestamp's milliseconds and add _to_string() function
Sebastian Dröge [Wed, 11 Feb 2009 17:40:55 +0000 (18:40 +0100)]
mxfdemux: Parse MXFTimestamp's milliseconds and add _to_string() function

15 years agomxfdemux: Update TODO
Sebastian Dröge [Tue, 10 Feb 2009 13:23:06 +0000 (14:23 +0100)]
mxfdemux: Update TODO

15 years agometadata: also post error message when returning error
Mark Nauwelaerts [Thu, 12 Feb 2009 09:46:23 +0000 (10:46 +0100)]
metadata: also post error message when returning error

15 years agoUpdate spec file with latest changes, also add some missing disting directories to...
Christian Schaller [Wed, 11 Feb 2009 17:23:03 +0000 (17:23 +0000)]
Update spec file with latest changes, also add some missing disting directories to a couple of Makefiles.am files

15 years agoinputselector: Fix compilation, activate_sinkpad() has no notify parameter
Sebastian Dröge [Wed, 11 Feb 2009 16:21:20 +0000 (17:21 +0100)]
inputselector: Fix compilation, activate_sinkpad() has no notify parameter

15 years agoinput-selector: Activate and notify pad before processing events.
Michael Smith [Wed, 11 Feb 2009 00:22:54 +0000 (16:22 -0800)]
input-selector: Activate and notify pad before processing events.

Events should trigger pad selection if we don't already have an
explicitly selected pad, so that events prior to first buffer don't get
lost.

15 years agocamerabin: Sanitize constants used for element factory names.
René Stadler [Tue, 10 Feb 2009 23:54:03 +0000 (01:54 +0200)]
camerabin: Sanitize constants used for element factory names.

15 years agocamerabin: Use v4l2src as default source.
René Stadler [Tue, 10 Feb 2009 23:24:51 +0000 (01:24 +0200)]
camerabin: Use v4l2src as default source.

15 years agophotography interface: .gitignore generated files.
René Stadler [Tue, 10 Feb 2009 23:07:04 +0000 (01:07 +0200)]
photography interface: .gitignore generated files.

15 years agophotography interface: Move generated files to win32/common.
René Stadler [Tue, 10 Feb 2009 23:02:42 +0000 (01:02 +0200)]
photography interface: Move generated files to win32/common.

15 years agocamerabin: Add .gitignore to hide generated signal marshaller files.
René Stadler [Tue, 10 Feb 2009 22:28:53 +0000 (00:28 +0200)]
camerabin: Add .gitignore to hide generated signal marshaller files.

15 years agocamerabin: Fix plugin details to use GST_PACKAGE_* values.
René Stadler [Tue, 10 Feb 2009 22:19:22 +0000 (00:19 +0200)]
camerabin: Fix plugin details to use GST_PACKAGE_* values.

15 years agoaacparse: Fix license specified in plugin details.
René Stadler [Tue, 10 Feb 2009 22:15:43 +0000 (00:15 +0200)]
aacparse: Fix license specified in plugin details.

15 years agodshowdecwrapper: Pass pixel aspect through from demuxers, if supplied.
Michael Smith [Tue, 10 Feb 2009 20:28:58 +0000 (12:28 -0800)]
dshowdecwrapper: Pass pixel aspect through from demuxers, if supplied.

If the incoming caps have a pixel-aspect-ratio, ensure it's set on the
output. Corrects PAR for many (but probably not all) files.

15 years agodshowdecwrapper: Make audio decoders have SECONDARY rank.
Michael Smith [Tue, 10 Feb 2009 20:26:25 +0000 (12:26 -0800)]
dshowdecwrapper: Make audio decoders have SECONDARY rank.

These wrappers are not ideal, and for many of these formats there are
better gstreamer elements available. So, make the rank SECONDARY. In
particular, the mp3 decoder on winXP doesn't work very well.

15 years agodshowdecwrapper: Delete old .c files that are unused
Michael Smith [Tue, 10 Feb 2009 20:12:03 +0000 (12:12 -0800)]
dshowdecwrapper: Delete old .c files that are unused

These old files are stale; the plugin was rewritten in c++ ages
ago. Not sure why these are hanging around.

15 years agobpmdetect: Pass at most 2048 samples to SoundTouch's BPMDetect
Sebastian Dröge [Tue, 10 Feb 2009 09:17:43 +0000 (10:17 +0100)]
bpmdetect: Pass at most 2048 samples to SoundTouch's BPMDetect

Internally BPMDetect assumes that at most 2048 samples are passed
to it at once and stores those in a stack allocated static sized
array. If we pass too many samples this will result in a buffer overflow
resulting in heavy stack corruption and a crash. Fixes bug #570996.

15 years agoacmmp3dec: fix major memory leaks and clean up code.
Michael Smith [Tue, 10 Feb 2009 01:58:42 +0000 (17:58 -0800)]
acmmp3dec: fix major memory leaks and clean up code.

Unref incoming buffers when we're done.
Reindent, clean up white space. Fix comments.

15 years agomxfdemux: After pulling the footer metadata reset essence track positions to 0
Sebastian Dröge [Mon, 9 Feb 2009 17:14:14 +0000 (18:14 +0100)]
mxfdemux: After pulling the footer metadata reset essence track positions to 0

15 years agomxfdemux: When trying to find an essence track position try to find position+1 too
Sebastian Dröge [Mon, 9 Feb 2009 16:55:05 +0000 (17:55 +0100)]
mxfdemux: When trying to find an essence track position try to find position+1 too

By searching for the following position we will add the complete
generic container (i.e. all tracks) at the same position to the
index which should make finding positions for more than one track
a bit faster.

15 years agomxfdemux: For new essence tracks only set the position to 0 if it starts in the curre...
Sebastian Dröge [Mon, 9 Feb 2009 16:48:38 +0000 (17:48 +0100)]
mxfdemux: For new essence tracks only set the position to 0 if it starts in the current partition

15 years agomxfdemux: Check if the length of the src/essence track arrays are 0, not the array...
Sebastian Dröge [Mon, 9 Feb 2009 16:44:43 +0000 (17:44 +0100)]
mxfdemux: Check if the length of the src/essence track arrays are 0, not the array itself

15 years agomxfdemux: Make sure that the srcpad and essence track arrays always exist
Sebastian Dröge [Mon, 9 Feb 2009 16:25:35 +0000 (17:25 +0100)]
mxfdemux: Make sure that the srcpad and essence track arrays always exist

15 years agomxfdemux: Change some GST_ERRORs to something less critical
Sebastian Dröge [Mon, 9 Feb 2009 15:12:51 +0000 (16:12 +0100)]
mxfdemux: Change some GST_ERRORs to something less critical

15 years agomxfdemux: Only go into EOS and send segment-done after all tracks are finished
Sebastian Dröge [Mon, 9 Feb 2009 15:09:22 +0000 (16:09 +0100)]
mxfdemux: Only go into EOS and send segment-done after all tracks are finished

15 years agomxfdemux: Update TODO
Sebastian Dröge [Mon, 9 Feb 2009 15:09:12 +0000 (16:09 +0100)]
mxfdemux: Update TODO

15 years agoFix build for camerabin.
Julien Moutte [Mon, 9 Feb 2009 14:48:20 +0000 (15:48 +0100)]
Fix build for camerabin.

15 years agoBump revision to use for common submodule.
Edward Hervey [Mon, 9 Feb 2009 11:02:50 +0000 (12:02 +0100)]
Bump revision to use for common submodule.

15 years agoMore files to ignore
Edward Hervey [Fri, 30 Jan 2009 15:09:30 +0000 (16:09 +0100)]
More files to ignore

15 years agotests: Add camerabin unit tests.
Nokia Corporation [Thu, 5 Feb 2009 21:06:23 +0000 (23:06 +0200)]
tests: Add camerabin unit tests.

15 years agoAdd camerabin element.
Nokia Corporation [Thu, 5 Feb 2009 13:48:32 +0000 (15:48 +0200)]
Add camerabin element.

15 years agoAdd photography interface.
Nokia Corporation [Fri, 6 Feb 2009 10:06:23 +0000 (12:06 +0200)]
Add photography interface.

15 years agomxfdemux: Fix seeking to the end of file
Sebastian Dröge [Mon, 9 Feb 2009 06:33:41 +0000 (07:33 +0100)]
mxfdemux: Fix seeking to the end of file

When seeking to a position where no new offset can be
found or after the end of a track don't set the EOS flag
to TRUE as we don't (and can't) push EOS downstream then.
Instead set the current essence track position to then
end of the essence track and let the loop or chain function
set everything to EOS and push EOS downstream.

Also restart the pad's task if resolving metadata failed
(playback will continue as before) and return FALSE from
the seek if no new offset could be found.

15 years agomxfdemux: Fix last_stop calculation when seeking
Sebastian Dröge [Sun, 8 Feb 2009 20:52:03 +0000 (21:52 +0100)]
mxfdemux: Fix last_stop calculation when seeking

15 years agomxfdemux: Resolve source package before accessing it's members
Sebastian Dröge [Sun, 8 Feb 2009 20:31:40 +0000 (21:31 +0100)]
mxfdemux: Resolve source package before accessing it's members

15 years agomxfdemux: Correctly implement timestamping in all cases
Sebastian Dröge [Sun, 8 Feb 2009 20:23:03 +0000 (21:23 +0100)]
mxfdemux: Correctly implement timestamping in all cases

When the material package track and source package track
edit rate are different the source package track edit
rate applies to the stored essence and the material track
edit rate only applies to the values in the track's sequence
and components.

15 years agomxfdemux: Correctly handle DURATION queries with a negative duration
Sebastian Dröge [Sun, 8 Feb 2009 20:22:17 +0000 (21:22 +0100)]
mxfdemux: Correctly handle DURATION queries with a negative duration

15 years agomxfdemux: When changing to the component after the last component update the essence...
Sebastian Dröge [Sun, 8 Feb 2009 20:17:11 +0000 (21:17 +0100)]
mxfdemux: When changing to the component after the last component update the essence track position

15 years agomxfdemux: Small cleanup and an additional check
Sebastian Dröge [Sun, 8 Feb 2009 20:12:21 +0000 (21:12 +0100)]
mxfdemux: Small cleanup and an additional check

Update TODO list, reduce size of a stack allocated string
and don't allow essence tracks with an invalid edit rate

15 years agomxfdemux: For material packages make sure that tracks resolve to source tracks
Sebastian Dröge [Sun, 8 Feb 2009 06:30:48 +0000 (07:30 +0100)]
mxfdemux: For material packages make sure that tracks resolve to source tracks

15 years agomxfdemux: Add support for non-standard Avid MXF files containing DNxHD essence
Sebastian Dröge [Sat, 7 Feb 2009 09:38:26 +0000 (10:38 +0100)]
mxfdemux: Add support for non-standard Avid MXF files containing DNxHD essence

Avid uses a custom essence container UL and custom essence element keys
that are fortunately compatible with the generic container essence
elements. Partially fixes bug #561922.

15 years agomxfdemux: Make essence track creation a bit more robust against broken files
Sebastian Dröge [Sat, 7 Feb 2009 09:13:54 +0000 (10:13 +0100)]
mxfdemux: Make essence track creation a bit more robust against broken files

Some files contain multiple tracks with the same track number but different
track id inside the same source package. This is invalid and we simply ignore
the second and following of such traacks now instead of overwriting the
information of the first one.

15 years agomxfdemux: Don't include multiple descriptors in the track's descriptors
Sebastian Dröge [Sat, 7 Feb 2009 09:03:24 +0000 (10:03 +0100)]
mxfdemux: Don't include multiple descriptors in the track's descriptors

15 years agomxfdemux: Add support for non-standard Avid MXF files containing DV essence
Sebastian Dröge [Sat, 7 Feb 2009 08:27:13 +0000 (09:27 +0100)]
mxfdemux: Add support for non-standard Avid MXF files containing DV essence

Avid usually uses a custom essence container label for the essence
descriptors and stores the actual codec that is used inside the
picture essence coding field (and for sound probably in the sound
essence coding field but I have no sample files with sound).
Partially fixes bug #561922.

15 years agomxfdemux: Add data definition for Avid vendor specific picture essence
Sebastian Dröge [Fri, 6 Feb 2009 10:57:46 +0000 (11:57 +0100)]
mxfdemux: Add data definition for Avid vendor specific picture essence

15 years agomxfdemux: For tracks with no known mapping use dummy caps
Sebastian Dröge [Fri, 6 Feb 2009 10:55:45 +0000 (11:55 +0100)]
mxfdemux: For tracks with no known mapping use dummy caps

15 years agomxfdemux: Don't remove invalid new essence track twice from the GPtrArray
Sebastian Dröge [Fri, 6 Feb 2009 10:21:00 +0000 (11:21 +0100)]
mxfdemux: Don't remove invalid new essence track twice from the GPtrArray

15 years agomxfdemux: Implement keyframe detection for MPEG4 video streams
Sebastian Dröge [Fri, 6 Feb 2009 10:09:11 +0000 (11:09 +0100)]
mxfdemux: Implement keyframe detection for MPEG4 video streams

15 years agomxfdemux: Handle some more special cases when setting the position when seeking
Sebastian Dröge [Fri, 6 Feb 2009 09:46:47 +0000 (10:46 +0100)]
mxfdemux: Handle some more special cases when setting the position when seeking

15 years agomxfdemux: Adjust last_stop to the last keyframe when seeking
Sebastian Dröge [Fri, 6 Feb 2009 09:46:09 +0000 (10:46 +0100)]
mxfdemux: Adjust last_stop to the last keyframe when seeking

15 years agomxfdemux: Fix logic for finding the previous keyframe
Sebastian Dröge [Fri, 6 Feb 2009 09:06:59 +0000 (10:06 +0100)]
mxfdemux: Fix logic for finding the previous keyframe

15 years agomxfdemux: Add keyframe detection for MPEG2 video streams
Sebastian Dröge [Fri, 6 Feb 2009 08:53:13 +0000 (09:53 +0100)]
mxfdemux: Add keyframe detection for MPEG2 video streams

This is useful for seeking as we usually want to seek to the previous
keyframe. The keyframe detection is done by parsing the MPEG2
elementary stream and if a GOP or I-frame packet is found we
assume a keyframe in this edit unit.

15 years agomxfdemux: Protect the metadata with a lock against concurrent access
Sebastian Dröge [Thu, 5 Feb 2009 20:29:29 +0000 (21:29 +0100)]
mxfdemux: Protect the metadata with a lock against concurrent access

15 years agoRandom cleanup and smaller bugfixes
Sebastian Dröge [Thu, 5 Feb 2009 16:42:37 +0000 (17:42 +0100)]
Random cleanup and smaller bugfixes

Use gst_element_klass_set_details_simple(), install properties
with static strings, create pads directly from the static pad
templates, directly put the segment into the instance struct,
use GST_MSECOND instead of numbers.

The PAR is a GstFraction and not a double, use gst_structure_get_fraction().

Simplify setcaps() functions.

15 years agoUse GST_VIDEO_CAPS_RGB for the template caps
Sebastian Dröge [Thu, 5 Feb 2009 16:00:30 +0000 (17:00 +0100)]
Use GST_VIDEO_CAPS_RGB for the template caps

15 years agoFix compiler warnings
Sebastian Dröge [Thu, 5 Feb 2009 15:57:55 +0000 (16:57 +0100)]
Fix compiler warnings

15 years agoAdd assrender plugin for rendering ASS/SSA subtitles
Benjamin Schmitz [Thu, 5 Feb 2009 15:54:01 +0000 (16:54 +0100)]
Add assrender plugin for rendering ASS/SSA subtitles

This element has the advantage over subparse's ASS/SSA
support that more features are supported, like fading,
by using libass. Fixes bug #481075.