]>
git.sesse.net Git - mlt/log
Dan Dennedy [Wed, 10 Oct 2012 02:47:53 +0000 (19:47 -0700)]
Build the SWIG bindings with the CXXFLAGS (
3554425 )
Based on patch by Cristian Morales Vega
Dan Dennedy [Wed, 10 Oct 2012 02:23:32 +0000 (19:23 -0700)]
fix segfault on invalid producer in playlist (
3574646 )
Dan Dennedy [Tue, 9 Oct 2012 14:42:34 +0000 (07:42 -0700)]
fix aspect ratio of generators when set via consumer property
Dan Dennedy [Fri, 5 Oct 2012 02:26:07 +0000 (19:26 -0700)]
Merge pull request #12 from xzhavilla/master
Fix build against non-default FFmpeg
Alberto Villa [Thu, 4 Oct 2012 23:19:00 +0000 (01:19 +0200)]
Avoid repeating -I twice
`pkg-config --cflags` already returns include dir with a prefixed -I,
which made the invocation result discarded (breaking VDPAU check with
non-default FFmpeg).
Alberto Villa [Thu, 4 Oct 2012 23:12:11 +0000 (01:12 +0200)]
Use $avformat_suffix in pkg-config invocations
It is required to really build MLT against a non-default FFmpeg (i.e.,
makes --avformat-suffix option really work).
The same change should probably be applied to static FFmpeg section,
as well as to a MINGW32_NT-* case, but I'm not able to test this, so
I didn't touch those parts.
Alberto Villa [Thu, 4 Oct 2012 23:02:27 +0000 (01:02 +0200)]
Use pkg-config to include frei0r header directory
Dan Dennedy [Mon, 1 Oct 2012 00:21:30 +0000 (17:21 -0700)]
fix regression on yadif deinterlace with progressive image
Dan Dennedy [Sun, 30 Sep 2012 17:28:29 +0000 (10:28 -0700)]
avformat: increase maximum audio stream index in producer
Maksym Veremeyenko [Fri, 28 Sep 2012 14:24:05 +0000 (16:24 +0200)]
fix array index out of range
Dan Dennedy [Tue, 25 Sep 2012 05:09:03 +0000 (22:09 -0700)]
fix first few frames with "aspect" property on avformat consumer
Dan Dennedy [Tue, 25 Sep 2012 04:20:37 +0000 (21:20 -0700)]
fix yadif deinterlacer on streams with progressive & interlace
Dan Dennedy [Tue, 25 Sep 2012 04:02:16 +0000 (21:02 -0700)]
fix hang/crash using yadif deinterlace with image producer
Dan Dennedy [Sun, 23 Sep 2012 23:39:25 +0000 (16:39 -0700)]
fix build against libav master
Dan Dennedy [Sun, 23 Sep 2012 17:39:15 +0000 (10:39 -0700)]
indicate in some presets codecs which do not support multithread
Dan Dennedy [Sat, 22 Sep 2012 20:53:04 +0000 (13:53 -0700)]
fix letting xml playlist load like virtual clip
If an application wants to detect if deserialized XML is a playlist or
mulitrack project, then it can check the new _original_type and
_original_resource properties.
Dan Dennedy [Sat, 22 Sep 2012 20:28:48 +0000 (13:28 -0700)]
fix crash on melt pango:+foo (without .txt)
Dan Dennedy [Sat, 22 Sep 2012 20:27:02 +0000 (13:27 -0700)]
fix pango producer in XML with no resource filename
j-b-m [Sat, 22 Sep 2012 18:48:06 +0000 (11:48 -0700)]
fix crash in pixbuf producer (kdenlive-2747)
Dan Dennedy [Thu, 20 Sep 2012 05:50:50 +0000 (22:50 -0700)]
fix regression due to not setting resource property in some contexts
Dan Dennedy [Wed, 19 Sep 2012 17:02:28 +0000 (10:02 -0700)]
fix build due to removal of deprecated encode() from AVCodec
Dan Dennedy [Sun, 16 Sep 2012 21:00:05 +0000 (14:00 -0700)]
fix image corruption with uncompressed video
Dan Dennedy [Sun, 16 Sep 2012 18:54:57 +0000 (11:54 -0700)]
cleanup sys/param.h include on FreeBSD
Assisted by Albert Villa who says it is safe to assume sys/param.h is
available, which is needed for FreeBSD version check on whether to
include xlocale.h in mlt_property.h.
Dan Dennedy [Sun, 16 Sep 2012 18:32:25 +0000 (11:32 -0700)]
better deinterlace regression fix
Sorry for the noise, but this is a better fix for the regression because
it does not manipulate the image stack the way the regression and its
first fix did.
Dan Dennedy [Sun, 16 Sep 2012 18:21:54 +0000 (11:21 -0700)]
fix regression on deinterlace in a multitrack with tractor
Dan Dennedy [Fri, 14 Sep 2012 17:54:59 +0000 (10:54 -0700)]
revert setting mlt_image_format to yuv420p
Dan Dennedy [Fri, 14 Sep 2012 15:55:02 +0000 (08:55 -0700)]
Revert "change sdl consumer to use yuv420p"
This reverts commit
ac034ef73a340fe3402968a7b3a3f69de4a3c53a .
Conflicts:
src/modules/sdl/consumer_sdl.c
Dan Dennedy [Fri, 14 Sep 2012 05:44:43 +0000 (22:44 -0700)]
remove unnecessary image conversion in deinterlace (kdenlive-2727)
Dan Dennedy [Fri, 14 Sep 2012 05:27:57 +0000 (22:27 -0700)]
sdl_audio and sdl_preview also do not care about field order
Also, have sdl_preview pass top_field_first to its children.
Dan Dennedy [Fri, 14 Sep 2012 04:52:02 +0000 (21:52 -0700)]
add ability to ignore field order as used by sdl consumer
Dan Dennedy [Fri, 14 Sep 2012 03:43:47 +0000 (20:43 -0700)]
change sdl consumer to use yuv420p
based on a patch by Steinar Gunderson
Dan Dennedy [Thu, 13 Sep 2012 17:00:35 +0000 (10:00 -0700)]
replace this with frame and filter
Dan Dennedy [Thu, 13 Sep 2012 05:04:48 +0000 (22:04 -0700)]
fix incorrect pointer comparisons in legacy code
Reported by Steinar Gunderson
Dan Dennedy [Mon, 10 Sep 2012 00:31:10 +0000 (17:31 -0700)]
add Mlt::Profile::colorspace()
Dan Dennedy [Sun, 9 Sep 2012 05:15:38 +0000 (22:15 -0700)]
allow env CC to override hard-coded gcc in configure scripts
patch by Alberto Villa
Dan Dennedy [Sun, 9 Sep 2012 05:05:55 +0000 (22:05 -0700)]
fix frame cache to use the original producer position (kdenlive-2668)
Dan Dennedy [Sun, 9 Sep 2012 05:05:35 +0000 (22:05 -0700)]
change producers to use mlt_frame_original_position()
Dan Dennedy [Sun, 9 Sep 2012 03:53:44 +0000 (20:53 -0700)]
add mlt_frame_original_position()
Dan Dennedy [Sun, 9 Sep 2012 02:32:22 +0000 (19:32 -0700)]
xlocale was backported to FreeBSD 9-STABLE
Patch by Alberto Villa
Dan Dennedy [Fri, 7 Sep 2012 04:59:46 +0000 (21:59 -0700)]
Merge pull request #11 from gmarco/changes
fix possible segfault on borders, used >= for
Marco Gittler [Wed, 5 Sep 2012 17:46:48 +0000 (19:46 +0200)]
fix possible segfault on borders, used >= for
better readablility
Dan Dennedy [Tue, 4 Sep 2012 06:44:03 +0000 (23:44 -0700)]
fix synchronizing consumer properties with the profile
If you change the profile struct then you can stop and restart the
consumer for the changes to take affect. Previously, you had to close
the consumer and re-open it.
Dan Dennedy [Tue, 4 Sep 2012 06:11:39 +0000 (23:11 -0700)]
add Mlt::Service::set_profile()
Dan Dennedy [Tue, 4 Sep 2012 06:11:08 +0000 (23:11 -0700)]
add mlt_service_set_profile()
Dan Dennedy [Tue, 4 Sep 2012 02:24:10 +0000 (19:24 -0700)]
add Mlt::Profile::is_explicit()
j-b-m [Tue, 4 Sep 2012 02:01:36 +0000 (19:01 -0700)]
fix 100% opacity to be truly opaque (kdenlive-2708)
Dan Dennedy [Fri, 31 Aug 2012 18:55:17 +0000 (11:55 -0700)]
cleanup doc for consumer-frame-render and -show event transmitters
Dan Dennedy [Fri, 31 Aug 2012 18:54:19 +0000 (11:54 -0700)]
extend Ruby API with PlaylistNextListner and show how to use it
Dan Dennedy [Fri, 31 Aug 2012 18:52:56 +0000 (11:52 -0700)]
add playlist-next event to mlt_playlist
Dan Dennedy [Fri, 31 Aug 2012 03:42:53 +0000 (20:42 -0700)]
set interim version to 0.8.3
Dan Dennedy [Tue, 28 Aug 2012 14:37:22 +0000 (07:37 -0700)]
update ChangeLog for v0.8.2
Dan Dennedy [Tue, 28 Aug 2012 16:25:41 +0000 (09:25 -0700)]
add acodec to webm preset and rename MPEG-4 ASP preset
Dan Dennedy [Tue, 28 Aug 2012 14:36:29 +0000 (07:36 -0700)]
set version to 0.8.2
Dan Dennedy [Tue, 28 Aug 2012 14:35:42 +0000 (07:35 -0700)]
change recommended versions of ffmpeg/libav
Dan Dennedy [Tue, 28 Aug 2012 14:33:10 +0000 (07:33 -0700)]
add release notes for v0.8.2
Dan Dennedy [Mon, 27 Aug 2012 00:25:22 +0000 (17:25 -0700)]
add meta.preset.extension to image sequence presets
Dan Dennedy [Mon, 27 Aug 2012 00:21:03 +0000 (17:21 -0700)]
add preset metadata such as alternate name, filename extension, note.
Dan Dennedy [Sun, 26 Aug 2012 21:21:32 +0000 (14:21 -0700)]
change profile to vprofile in presets
Dan Dennedy [Sun, 26 Aug 2012 21:21:00 +0000 (14:21 -0700)]
add vorbis and prores encode presets
Dan Dennedy [Sun, 26 Aug 2012 03:24:39 +0000 (20:24 -0700)]
add a bunch of new encoding presets
Dan Dennedy [Sat, 25 Aug 2012 19:42:27 +0000 (12:42 -0700)]
fix seeking on some formats (HDV) after a/v sync improvements
Dan Dennedy [Sat, 25 Aug 2012 05:07:22 +0000 (22:07 -0700)]
the recent A/V sync overhaul needed some additional work
Brian Matherly [Tue, 21 Aug 2012 02:10:22 +0000 (21:10 -0500)]
Update src/modules/avformat/producer_avformat.c
Better way to detect the availability of PIX_FMT_YUVA444P.
Dan Dennedy [Mon, 20 Aug 2012 16:49:52 +0000 (09:49 -0700)]
fix melt.c build on windows due to previous commit
Dan Dennedy [Mon, 20 Aug 2012 03:51:52 +0000 (20:51 -0700)]
fix build on ffmpeg v0.5 (no CODEC_ID_VP8)
Dan Dennedy [Mon, 20 Aug 2012 02:27:16 +0000 (19:27 -0700)]
remove printf added in previous commit
Dan Dennedy [Sun, 19 Aug 2012 20:24:30 +0000 (13:24 -0700)]
fix possible null pointer with strdup()
Dan Dennedy [Sun, 19 Aug 2012 19:49:11 +0000 (12:49 -0700)]
let melt be stopped gracefully by signal
Dan Dennedy [Sat, 18 Aug 2012 06:53:26 +0000 (23:53 -0700)]
webm works better with use_pts=1 as well (
3559115 )
Dan Dennedy [Fri, 17 Aug 2012 07:14:45 +0000 (00:14 -0700)]
fix null pointer check (coverity-709396)
Dan Dennedy [Fri, 17 Aug 2012 07:05:27 +0000 (00:05 -0700)]
fix possible null pointer dereference (coverity-714581)
Dan Dennedy [Fri, 17 Aug 2012 06:50:30 +0000 (23:50 -0700)]
fix possible null pointer dereferences (coverity-714581)
Dan Dennedy [Fri, 17 Aug 2012 06:46:42 +0000 (23:46 -0700)]
fix possible null pointer dereference (coverity-714580)
Dan Dennedy [Fri, 17 Aug 2012 06:40:57 +0000 (23:40 -0700)]
fix possible null pointer dereference (coverity-710882)
Dan Dennedy [Fri, 17 Aug 2012 06:32:04 +0000 (23:32 -0700)]
fix possible null pointer dereference (coverity-710870)
Dan Dennedy [Fri, 17 Aug 2012 06:29:49 +0000 (23:29 -0700)]
fix possible null pointer dereferences (coverity-709399)
Dan Dennedy [Fri, 17 Aug 2012 06:27:35 +0000 (23:27 -0700)]
fix possible null pointer dereferences (coverity-709395)
Dan Dennedy [Fri, 17 Aug 2012 06:26:18 +0000 (23:26 -0700)]
fix possible null pointer dereference (coverity-709394)
Dan Dennedy [Fri, 17 Aug 2012 06:24:43 +0000 (23:24 -0700)]
fix possible null pointer dereference (coverity-709393)
Dan Dennedy [Fri, 17 Aug 2012 06:18:17 +0000 (23:18 -0700)]
fix memory leak if fail to alloc/init filter (coverity-714584)
Dan Dennedy [Fri, 17 Aug 2012 06:17:05 +0000 (23:17 -0700)]
fix memory leak if fail to alloc/init filter (coverity-714583)
Dan Dennedy [Fri, 17 Aug 2012 06:11:47 +0000 (23:11 -0700)]
fix resource leak on iconv (coverity-714582)
Dan Dennedy [Wed, 15 Aug 2012 23:49:06 +0000 (16:49 -0700)]
fix A/V synch on more H.264 files (without B-frames)
reported by Jordan Keyes
Brian Matherly [Tue, 14 Aug 2012 04:10:55 +0000 (23:10 -0500)]
Increase libavutil version required to use PIX_FMT_YUVA444P.
PIX_FMT_YUVA444P was added to ffmpeg in version 51.35.101 - and so the precompiler check was correctly set to that version. However, it has not yet been added to libav. And libav recently increased the libavutil version to 51.38.0. This causes a compilation error against libav master because the precompiler check passes, but PIX_FMT_YUVA444P is not defined.
The current libavutil versions are:
* ffmpeg master: 51.69.100
* ffmpeg 0.11: 51.54.100
* libav master: 51.38.0
This commit sets the precompiler to check against version 51.54.0. This will allow PIX_FMT_YUVA444P to be used when compiled against both ffmpeg master and ffmpeg 0.11 - while avoiding errors when compiling against libav master. However, if libav keeps incrementing the version without adding PIX_FMT_YUVA444P, this number may have to be increased again in the future.
Dan Dennedy [Sun, 12 Aug 2012 17:38:35 +0000 (10:38 -0700)]
fix reading properties file without trailing newline
Dan Dennedy [Sun, 12 Aug 2012 01:22:32 +0000 (18:22 -0700)]
fix melt progress display on Windows
Dan Dennedy [Sat, 11 Aug 2012 17:24:02 +0000 (10:24 -0700)]
fix -progress2 with pipe input
Dan Dennedy [Sat, 11 Aug 2012 07:22:05 +0000 (00:22 -0700)]
fix melt progress indication on Windows with MELT_NOSDL
Dan Dennedy [Fri, 10 Aug 2012 07:07:08 +0000 (00:07 -0700)]
let melt be built without SDL on Windows
with -DMELT_NOSDL in CFLAGS
Dan Dennedy [Wed, 8 Aug 2012 07:38:06 +0000 (00:38 -0700)]
relay first nested consumer's frame-show event instead of own
Dan Dennedy [Wed, 8 Aug 2012 07:11:30 +0000 (00:11 -0700)]
fix integrity of images with multi consumer
Dan Dennedy [Sun, 5 Aug 2012 21:00:18 +0000 (14:00 -0700)]
fix seeking jack clients when seeking while paused
Dan Dennedy [Tue, 7 Aug 2012 04:17:46 +0000 (21:17 -0700)]
Merge pull request #10 from mcfrisk/coverity_review_fixes_v2
Coverity review fixes v2
Mikko Rapeli [Wed, 1 Aug 2012 16:04:03 +0000 (18:04 +0200)]
videostab/filter_videostab2.c: check for null
Fixes Coverity CID 709405: Dereference before null check (REVERSE_INULL)
Directly dereferencing pointer "data".
244 data->stab = calloc( 1, sizeof(StabData) );
245 data->trans = calloc( 1, sizeof (TransformData) ) ;
Dereferencing "data" before a null check.
246 if ( data )
Mikko Rapeli [Wed, 1 Aug 2012 15:44:20 +0000 (17:44 +0200)]
videostab/filter_videostab*.c: check return value from mlt_filter_new()
Fixes Coverity CID 709365 and 709366:
Dereference null return value (NULL_RETURNS)
Function "mlt_filter_new" returns null (checked 50 out of 52 times). [show details]
Assigning: "parent" = null return value from "mlt_filter_new".
201 mlt_filter parent = mlt_filter_new();
Dereferencing a null pointer "parent".
202 parent->child = self;
Mikko Rapeli [Wed, 1 Aug 2012 15:41:33 +0000 (17:41 +0200)]
videostab/filter_videostab*.c: check for null
Fixes Coverity CID 709404:
Dereference before null check (REVERSE_INULL)
Dereferencing pointer "g". [show details]
85 if ( !mlt_geometry_parse( g, vectors, length, -1, -1 ) )
...
Dereferencing "g" before a null check.
104 if ( g ) mlt_geometry_close( g );
Mikko Rapeli [Wed, 1 Aug 2012 15:28:49 +0000 (17:28 +0200)]
sdl/consumer_sdl_still.c: use mutex when changing sdl_screen
Fixes Coverity CID 709357: Data race condition (MISSING_LOCK)
Accessing variable "this->sdl_screen" (consumer_sdl_s.sdl_screen) requires the mlt_sdl_mutex lock.
230 this->sdl_screen = NULL;
...
Locking "mlt_sdl_mutex".
445 pthread_mutex_lock( &mlt_sdl_mutex );
consumer_sdl_s.sdl_screen is being accessed with lock "mlt_sdl_mutex" held.
446 this->sdl_screen = SDL_SetVideoMode( this->window_width, this->window_height, 0, this->sdl_flags );
447 if ( consumer_get_dimensions( &this->window_width, &this->window_height ) )
448 this->sdl_screen = SDL_SetVideoMode( this->window_width, this->window_height, 0, this->sdl_flags );
449
450 uint32_t color = mlt_properties_get_int( this->properties, "window_background" );
451 if ( this->sdl_screen )
452 {
453 SDL_FillRect( this->sdl_screen, NULL, color >> 8 );
454 changed = 1;
455 }
456 pthread_mutex_unlock( &mlt_sdl_mutex );
Mikko Rapeli [Wed, 1 Aug 2012 15:21:51 +0000 (17:21 +0200)]
sdl/consumer_sdl_preview.c: use mutex when changing refresh_count
Fixes Coverity CID 709360: Data race condition (MISSING_LOCK)
Locking "this->refresh_mutex".
133 pthread_mutex_lock( &this->refresh_mutex );
consumer_sdl_s.refresh_count is being accessed with lock "this->refresh_mutex" held.
134 this->refresh_count = this->refresh_count <= 0 ? 1 : this->refresh_count + 1;
135 pthread_cond_broadcast( &this->refresh_cond );
136 pthread_mutex_unlock( &this->refresh_mutex );
...
Accessing variable "this->refresh_count" (consumer_sdl_s.refresh_count) requires the consumer_sdl_s.refresh_mutex lock.
295 this->refresh_count = 0;
...
Locking "this->refresh_mutex".
445 pthread_mutex_lock( &this->refresh_mutex );
446 if ( this->running && speed == 0 && this->refresh_count <= 0 )
447 {
448 mlt_events_fire( properties, "consumer-sdl-paused", NULL );
449 pthread_cond_wait( &this->refresh_cond, &this->refresh_mutex );
450 }
consumer_sdl_s.refresh_count is being accessed with lock "this->refresh_mutex" held.
451 this->refresh_count --;
452 pthread_mutex_unlock( &this->refresh_mutex );
Mikko Rapeli [Wed, 1 Aug 2012 15:19:12 +0000 (17:19 +0200)]
sdl/consumer_sdl_preview.c: check for null pointer
Fixes Coverity CID 709403: Dereference before null check (REVERSE_INULL)
Dereferencing pointer "this->play". [show details]
290 int eos_threshold = 20 + mlt_properties_get_int( MLT_CONSUMER_PROPERTIES( this->play ), "buffer" );
...
Assigning: "this->active" = "this->play".
424 this->active = this->play;
...
Dereferencing "this->play" before a null check.
466 if ( this->play ) mlt_consumer_stop( this->play );
Mikko Rapeli [Wed, 1 Aug 2012 13:42:10 +0000 (15:42 +0200)]
sdl/consumer_sdl_audio.c: use mutex when changing refresh_count
Fixes Coverity CID 709359: Data race condition (MISSING_LOCK)
Locking "self->refresh_mutex".
145 pthread_mutex_lock( &self->refresh_mutex );
consumer_sdl_s.refresh_count is being accessed with lock "self->refresh_mutex" held.
146 self->refresh_count = self->refresh_count <= 0 ? 1 : self->refresh_count + 1;
147 pthread_cond_broadcast( &self->refresh_cond );
148 pthread_mutex_unlock( &self->refresh_mutex );
...
Accessing variable "self->refresh_count" (consumer_sdl_s.refresh_count) requires the consumer_sdl_s.refresh_mutex lock.
478 self->refresh_count = 0;
...
Locking "self->refresh_mutex".
535 pthread_mutex_lock( &self->refresh_mutex );
536 if ( refresh == 0 && self->refresh_count <= 0 )
537 {
538 consumer_play_video( self, frame );
539 pthread_cond_wait( &self->refresh_cond, &self->refresh_mutex );
540 }
541 mlt_frame_close( frame );
consumer_sdl_s.refresh_count is being accessed with lock "self->refresh_mutex" held.
542 self->refresh_count --;
543 pthread_mutex_unlock( &self->refresh_mutex );