vlc.git
11 years agoFixed subtitle flush to not flush on pause.
Laurent Aimar [Thu, 18 Sep 2008 19:24:14 +0000 (21:24 +0200)]
Fixed subtitle flush to not flush on pause.

11 years agoReserved a few space in block_t flags for input core.
Laurent Aimar [Thu, 18 Sep 2008 19:23:42 +0000 (21:23 +0200)]
Reserved a few space in block_t flags for input core.

11 years agoImprove VLC_COMMON_MEMBERS layout
Rémi Denis-Courmont [Thu, 18 Sep 2008 19:46:57 +0000 (22:46 +0300)]
Improve VLC_COMMON_MEMBERS layout

11 years agovlc_object_internals_t is internal
Rémi Denis-Courmont [Thu, 18 Sep 2008 19:38:37 +0000 (22:38 +0300)]
vlc_object_internals_t is internal

11 years agoFail cleanly if Modules.am is missing
Rémi Denis-Courmont [Thu, 18 Sep 2008 19:32:39 +0000 (22:32 +0300)]
Fail cleanly if Modules.am is missing

11 years agoDon't patch Makefile.in.in, this does not work
Rémi Denis-Courmont [Thu, 18 Sep 2008 19:32:17 +0000 (22:32 +0300)]
Don't patch Makefile.in.in, this does not work

11 years agoForgotten file: Grmbl at my stoopidity.
Jean-Baptiste Kempf [Thu, 18 Sep 2008 19:28:57 +0000 (12:28 -0700)]
Forgotten file: Grmbl at my stoopidity.

11 years agoUse stat properly (you don't want to open directories or devices...)
Rémi Denis-Courmont [Thu, 18 Sep 2008 18:47:11 +0000 (21:47 +0300)]
Use stat properly (you don't want to open directories or devices...)

11 years agoMKV: Split classes in many files.
Jean-Baptiste Kempf [Thu, 18 Sep 2008 19:03:43 +0000 (12:03 -0700)]
MKV: Split classes in many files.

I tried to split most classes in relevant files.
I regrouped classes when they were very tightened to each other
(in chapters and chapter_command for example )

Note that git doesn't detect correctly the files on this.
git blame -C -C is your friend.

11 years agoMKV: Copy mkv.cpp to many different files.
Jean-Baptiste Kempf [Thu, 18 Sep 2008 18:49:55 +0000 (11:49 -0700)]
MKV: Copy mkv.cpp to many different files.

11 years agoMove MKV demuxer to its own subfolder.
Jean-Baptiste Kempf [Thu, 18 Sep 2008 04:41:20 +0000 (21:41 -0700)]
Move MKV demuxer to its own subfolder.

11 years agoFixed broken input_AddSubtitles.
Laurent Aimar [Thu, 18 Sep 2008 18:15:29 +0000 (20:15 +0200)]
Fixed broken input_AddSubtitles.

 It was a big race condition, please understand how multi-thread works before
touching core files.
 Do not throw away the few first subtitles.

11 years agoFlush subtitle on seek.
Laurent Aimar [Thu, 18 Sep 2008 18:15:06 +0000 (20:15 +0200)]
Flush subtitle on seek.

11 years agoDo not throw away the last subtitle for subrip and fix initial timestamp.
Laurent Aimar [Thu, 18 Sep 2008 18:14:18 +0000 (20:14 +0200)]
Do not throw away the last subtitle for subrip and fix initial timestamp.

11 years agoHandle special blocks in subsdec.
Laurent Aimar [Thu, 18 Sep 2008 18:13:47 +0000 (20:13 +0200)]
Handle special blocks in subsdec.

11 years agoReset input slave eof flag on seek.
Laurent Aimar [Wed, 17 Sep 2008 22:01:01 +0000 (00:01 +0200)]
Reset input slave eof flag on seek.

11 years agoAdd URI column to Qt4 playlist. Add sorting by URI in playlist core.
Antoine Cellerier [Thu, 18 Sep 2008 17:42:58 +0000 (19:42 +0200)]
Add URI column to Qt4 playlist. Add sorting by URI in playlist core.

11 years agoFix opening of some podcasts.
Antoine Cellerier [Thu, 18 Sep 2008 16:57:16 +0000 (18:57 +0200)]
Fix opening of some podcasts.

Fixes opening podcasts like http://feeds.feedburner.com/Terravideos

11 years agoavformat: set the "duration/length/ of a packet if known.
Derk-Jan Hartman [Thu, 18 Sep 2008 14:35:44 +0000 (16:35 +0200)]
avformat: set the "duration/length/ of a packet if known.

11 years agoavcodec: add fourcc's for some of the avcodec supported subtitles
Derk-Jan Hartman [Thu, 18 Sep 2008 14:21:01 +0000 (16:21 +0200)]
avcodec: add fourcc's for some of the avcodec supported subtitles

11 years agoavformat: attachments should still be treated as tracks. this fixes [8c5a9c72318853e1...
Derk-Jan Hartman [Thu, 18 Sep 2008 14:01:09 +0000 (16:01 +0200)]
avformat: attachments should still be treated as tracks. this fixes [8c5a9c72318853e165ebb29a1ac49ee079bc4bc5]

11 years agoaudiofilters: Do not try to insert user audio-filters when our target is SPDIF. We...
Derk-Jan Hartman [Thu, 18 Sep 2008 12:48:27 +0000 (14:48 +0200)]
audiofilters: Do not try to insert user audio-filters when our target is SPDIF. We currently have no way to apply any of our filters to the encoded signal.

11 years agoDisable focus on buttons to avoid "space" to be catched by a button on focus.
Jean-Baptiste Kempf [Thu, 18 Sep 2008 03:21:02 +0000 (20:21 -0700)]
Disable focus on buttons to avoid "space" to be catched by a button on focus.

Moreover, use a function instead of a macro (like in 0.9-branch)
Partially cherry picked from commit 73ab1cd94773956e463009088bf5f477cec1ae80

11 years agoConfigDir mess up on windows.
Jean-Baptiste Kempf [Thu, 18 Sep 2008 00:50:25 +0000 (17:50 -0700)]
ConfigDir mess up on windows.

11 years agoString updates from tonsofpcs
Jean-Baptiste Kempf [Wed, 17 Sep 2008 22:27:57 +0000 (15:27 -0700)]
String updates from tonsofpcs

11 years agocontrib: re-enable swscale, remove no longer needed swscale patch.
Derk-Jan Hartman [Wed, 17 Sep 2008 21:59:12 +0000 (23:59 +0200)]
contrib: re-enable swscale, remove no longer needed swscale patch.

11 years agoavformat: attachment support for fonts.
Derk-Jan Hartman [Wed, 17 Sep 2008 21:01:16 +0000 (23:01 +0200)]
avformat: attachment support for fonts.

And only fonts so far.

11 years agoSupport for overlapped subtitle part 2.
Laurent Aimar [Wed, 17 Sep 2008 21:26:46 +0000 (23:26 +0200)]
Support for overlapped subtitle part 2.

Do not move an already rendered subtitle.

11 years agoSupport for overlapped subtitle part 1.
Laurent Aimar [Wed, 17 Sep 2008 21:09:49 +0000 (23:09 +0200)]
Support for overlapped subtitle part 1.

11 years agoAssert variable type in var_Set/GetXYZ.
Laurent Aimar [Wed, 17 Sep 2008 19:35:47 +0000 (21:35 +0200)]
Assert variable type in var_Set/GetXYZ.

It will allow detecting stupid typos.

11 years agoCosmetics.
Laurent Aimar [Wed, 17 Sep 2008 19:35:38 +0000 (21:35 +0200)]
Cosmetics.

11 years agoconfigure: Use fno-omit-frame-pointer with --enable-release on Mac OS X, as we are...
Pierre d'Herbemont [Wed, 17 Sep 2008 20:30:18 +0000 (22:30 +0200)]
configure: Use fno-omit-frame-pointer with --enable-release on Mac OS X, as we are collecting crash log.

11 years agoFix flexible array usage gcc-ism
Rémi Denis-Courmont [Wed, 17 Sep 2008 20:02:59 +0000 (23:02 +0300)]
Fix flexible array usage gcc-ism

11 years agomacosx: dir:/ -> directory://
Derk-Jan Hartman [Wed, 17 Sep 2008 19:51:01 +0000 (21:51 +0200)]
macosx: dir:/ -> directory://

11 years agoreal demux: Set to prio 0.
Derk-Jan Hartman [Wed, 17 Sep 2008 19:31:16 +0000 (21:31 +0200)]
real demux: Set to prio 0.

Our real demux is incomplete and crashes avcodec. The avformat demux works, so i say we use it until someone fixes this thing.

11 years agoAdd .nuv in interface and installer.
Jean-Baptiste Kempf [Wed, 17 Sep 2008 18:52:49 +0000 (11:52 -0700)]
Add .nuv in interface and installer.

11 years agoFixed subtitle pausing.
Laurent Aimar [Wed, 17 Sep 2008 18:36:03 +0000 (20:36 +0200)]
Fixed subtitle pausing.

11 years agoSet minimum scale in spu core for text renderer.
Laurent Aimar [Wed, 17 Sep 2008 18:28:18 +0000 (20:28 +0200)]
Set minimum scale in spu core for text renderer.

11 years agoFixed subusf rendering.
Laurent Aimar [Wed, 17 Sep 2008 18:24:59 +0000 (20:24 +0200)]
Fixed subusf rendering.

11 years agoFixed a segfault when trying to render a unbreakable string.
Laurent Aimar [Wed, 17 Sep 2008 18:24:34 +0000 (20:24 +0200)]
Fixed a segfault when trying to render a unbreakable string.

11 years agoA little clean up in subsusf decoder.
Laurent Aimar [Wed, 17 Sep 2008 17:54:55 +0000 (19:54 +0200)]
A little clean up in subsusf decoder.

11 years agoDon't use FREENULL when that's not needed and don't free NULL just for fun.
Rémi Duraffort [Wed, 17 Sep 2008 17:58:11 +0000 (19:58 +0200)]
Don't use FREENULL when that's not needed and don't free NULL just for fun.

11 years agoObvious mistake in French Translation.
Jean-Baptiste Kempf [Wed, 17 Sep 2008 17:19:31 +0000 (10:19 -0700)]
Obvious mistake in French Translation.

11 years agoUse DIR_SEP instead of /
Jean-Baptiste Kempf [Wed, 17 Sep 2008 05:13:49 +0000 (22:13 -0700)]
Use DIR_SEP instead of /

11 years agoFixed spu margin and more subtitle clean up.
Laurent Aimar [Wed, 17 Sep 2008 17:10:03 +0000 (19:10 +0200)]
Fixed spu margin and more subtitle clean up.

11 years agoSpuRegionPlace now works in rendered unit.
Laurent Aimar [Tue, 16 Sep 2008 22:56:59 +0000 (00:56 +0200)]
SpuRegionPlace now works in rendered unit.

11 years agoRemoved a little hack in subpicture cache code.
Laurent Aimar [Tue, 16 Sep 2008 22:26:38 +0000 (00:26 +0200)]
Removed a little hack in subpicture cache code.

11 years agoClean up a bit subpicture release code.
Laurent Aimar [Tue, 16 Sep 2008 22:22:53 +0000 (00:22 +0200)]
Clean up a bit subpicture release code.

11 years agoFixed picture cache creation.
Laurent Aimar [Tue, 16 Sep 2008 22:18:49 +0000 (00:18 +0200)]
Fixed picture cache creation.

11 years agoUsed const for video_format_t when possible.
Laurent Aimar [Tue, 16 Sep 2008 22:01:11 +0000 (00:01 +0200)]
Used const for video_format_t when possible.

I have updated spu_RenderSubpictures and subpicture_region_t->pf_pre_render/pf_update_regions.

11 years agoFixed spu_RenderSubpictures prototype.
Laurent Aimar [Tue, 16 Sep 2008 21:50:07 +0000 (23:50 +0200)]
Fixed spu_RenderSubpictures prototype.

It now requires source format instead of scaling parameters.

11 years agoClean up subpicture code.
Laurent Aimar [Tue, 16 Sep 2008 21:31:06 +0000 (23:31 +0200)]
Clean up subpicture code.

11 years agoRemoved spu_MakeRegion as it was broken by design.
Laurent Aimar [Tue, 16 Sep 2008 21:15:48 +0000 (23:15 +0200)]
Removed spu_MakeRegion as it was broken by design.

11 years agoDo not use pf_make_region as it leads to a horrible hack.
Laurent Aimar [Tue, 16 Sep 2008 21:12:27 +0000 (23:12 +0200)]
Do not use pf_make_region as it leads to a horrible hack.

Yes this creates a 'useless' picture copy per region, but it is
currently needed.

11 years agoSimplify dynamicoverlay and removed the need of pf_make_region.
Laurent Aimar [Tue, 16 Sep 2008 20:53:53 +0000 (22:53 +0200)]
Simplify dynamicoverlay and removed the need of pf_make_region.

11 years agoFactorize duplicated code, again.
Laurent Aimar [Tue, 16 Sep 2008 20:41:49 +0000 (22:41 +0200)]
Factorize duplicated code, again.

11 years agoLoad the scalers and text renderer at SPU creation.
Laurent Aimar [Tue, 16 Sep 2008 20:19:50 +0000 (22:19 +0200)]
Load the scalers and text renderer at SPU creation.

It is useless to wait for the first subtitle.

11 years agoLoading the text renderer does not need the real video size.
Laurent Aimar [Tue, 16 Sep 2008 20:12:59 +0000 (22:12 +0200)]
Loading the text renderer does not need the real video size.

11 years agoCosmetics.
Laurent Aimar [Tue, 16 Sep 2008 20:10:56 +0000 (22:10 +0200)]
Cosmetics.

11 years agoShould remove the big white noise that was produced
Geoffroy Couprie [Wed, 17 Sep 2008 09:29:52 +0000 (11:29 +0200)]
Should remove the big white noise that was produced

11 years agoremove on more b_dead old use
Geoffroy Couprie [Tue, 16 Sep 2008 23:35:22 +0000 (01:35 +0200)]
remove on more b_dead old use

11 years agoquartztext: One more fix to [f0d84d019c8c240c47672b82be123dc979b8d09e]
Derk-Jan Hartman [Wed, 17 Sep 2008 02:14:27 +0000 (04:14 +0200)]
quartztext: One more fix to  [f0d84d019c8c240c47672b82be123dc979b8d09e]

This properly creates the colorspace.

11 years agoquartztext: fix [f0d84d019c8c240c47672b82be123dc979b8d09e]. white is not block
Derk-Jan Hartman [Wed, 17 Sep 2008 02:01:36 +0000 (04:01 +0200)]
quartztext: fix [f0d84d019c8c240c47672b82be123dc979b8d09e]. white is not block

11 years agomacosx: partial revert of [fa78d3b351465c9356b64484b9796d200598fbe8].
Derk-Jan Hartman [Wed, 17 Sep 2008 01:50:12 +0000 (03:50 +0200)]
macosx: partial revert of [fa78d3b351465c9356b64484b9796d200598fbe8].

We still need the config options.

11 years agoquartztext: Use 10.4 compatible alternative to kCGColorBlack
Derk-Jan Hartman [Wed, 17 Sep 2008 01:45:58 +0000 (03:45 +0200)]
quartztext: Use 10.4 compatible alternative to kCGColorBlack

11 years agomacosx: Remove the deprecated quickdraw vout.
Pierre d'Herbemont [Tue, 16 Sep 2008 23:56:24 +0000 (01:56 +0200)]
macosx: Remove the deprecated quickdraw vout.

11 years agoavformat: Don't accept negative size.
Pierre d'Herbemont [Tue, 16 Sep 2008 23:40:22 +0000 (01:40 +0200)]
avformat: Don't accept negative size.

11 years agoUpdate XSPF playlist structure to use <vlc:id> instead of <identifier>.
Yoann Peronneau [Tue, 16 Sep 2008 21:26:15 +0000 (23:26 +0200)]
Update XSPF playlist structure to use <vlc:id> instead of <identifier>.
This fixes bugs when loading non-VLC generated XSPF playlists.

11 years agoProvide a SPrefs to deactivate the systray icon as often requested on the forums...
Jean-Baptiste Kempf [Tue, 16 Sep 2008 22:51:07 +0000 (15:51 -0700)]
Provide a SPrefs to deactivate the systray icon as often requested on the forums...

11 years agoes_format: Robustification of es_format_copy to avoid a crash reported by Apple-bugre...
Pierre d'Herbemont [Tue, 16 Sep 2008 22:49:37 +0000 (00:49 +0200)]
es_format: Robustification of es_format_copy to avoid a crash reported by Apple-bugreport.

11 years agoquartztext: Reenable quartztext along with some enhancements.
Pierre d'Herbemont [Tue, 16 Sep 2008 21:51:22 +0000 (23:51 +0200)]
quartztext: Reenable quartztext along with some enhancements.

First, set a text drop shadow because we can, and it is nice for readability.
Then, correct behaviour for border color: minimum size to 1.0, where current code max it to 1.0, and comment the contrary.

11 years agoDocument the assertion
Rémi Denis-Courmont [Tue, 16 Sep 2008 20:26:30 +0000 (23:26 +0300)]
Document the assertion

11 years agoWin32: fail safe when loading plugins
Rémi Denis-Courmont [Tue, 16 Sep 2008 20:24:33 +0000 (23:24 +0300)]
Win32: fail safe when loading plugins

11 years agoWin32:use Unicode LoadLibrary
Rémi Denis-Courmont [Tue, 16 Sep 2008 20:20:41 +0000 (23:20 +0300)]
Win32:use Unicode LoadLibrary

so we can install VLC in non-ANSI-named directories

11 years agomacosx: Use fork+exec instead of posix_spawn.
Pierre d'Herbemont [Tue, 16 Sep 2008 20:01:23 +0000 (22:01 +0200)]
macosx: Use fork+exec instead of posix_spawn.

(As pointed by Remi)

Note, this doesn't work with just exec() for some obscure reason.

11 years agoCompilation fix for kate.
Laurent Aimar [Tue, 16 Sep 2008 20:01:49 +0000 (22:01 +0200)]
Compilation fix for kate.

11 years agoSimplify and fixed absolute text positioning.
Laurent Aimar [Tue, 16 Sep 2008 18:10:23 +0000 (20:10 +0200)]
Simplify and fixed absolute text positioning.

It has a bad side effect when using software rescaling: the subtitles are
rendered using the video original size instead of the display one (like with
overlay). I will fix that latter.

11 years agommap: allow tweaking the PTS delay
Rémi Denis-Courmont [Tue, 16 Sep 2008 15:52:31 +0000 (18:52 +0300)]
mmap: allow tweaking the PTS delay

(The PTS delay thing should be dynamically automatically computed -
 for every access - however, IMHO)

11 years agommap: handle I/O errors as fatal
Rémi Denis-Courmont [Tue, 16 Sep 2008 15:52:15 +0000 (18:52 +0300)]
mmap: handle I/O errors as fatal

11 years agosubass: Fix crash in the simple SSA/ASS decoder.
Derk-Jan Hartman [Tue, 16 Sep 2008 13:06:22 +0000 (15:06 +0200)]
subass: Fix crash in the simple SSA/ASS decoder.

This is the issue exploited by the anime groups.
We now skip anything in { }
Note that ass/ssa cannot have a valid string with text { text } text.

11 years agomacosx: Use freetype fonts in simple prefs.
Pierre d'Herbemont [Tue, 16 Sep 2008 07:38:38 +0000 (09:38 +0200)]
macosx: Use freetype fonts in simple prefs.

11 years agomacosx: Properly relaunch VLC when asked for.
Pierre d'Herbemont [Tue, 16 Sep 2008 07:35:09 +0000 (09:35 +0200)]
macosx: Properly relaunch VLC when asked for.

11 years agoquartztext: Disable as freetype is doing a better job than us.
Pierre d'Herbemont [Tue, 16 Sep 2008 07:17:22 +0000 (09:17 +0200)]
quartztext: Disable as freetype is doing a better job than us.

11 years agomacosx: Make sure preferences version is saved.
Pierre d'Herbemont [Tue, 16 Sep 2008 07:16:59 +0000 (09:16 +0200)]
macosx: Make sure preferences version is saved.

11 years agomacosx: Set the pref version key if the ignore button was pressed.
Pierre d'Herbemont [Tue, 16 Sep 2008 06:53:44 +0000 (08:53 +0200)]
macosx: Set the pref version key if the ignore button was pressed.

So that the dialog won't pop up again.

11 years agothere's no vlc_thread_create(p_helper)
Geoffroy Couprie [Tue, 16 Sep 2008 00:10:05 +0000 (02:10 +0200)]
there's no vlc_thread_create(p_helper)

11 years agomacosx: Check for older preferences and ask to delete them.
Pierre d'Herbemont [Mon, 15 Sep 2008 22:40:58 +0000 (00:40 +0200)]
macosx: Check for older preferences and ask to delete them.

11 years agomkv: lower priority of mkv module to 0
Derk-Jan Hartman [Mon, 15 Sep 2008 22:18:31 +0000 (00:18 +0200)]
mkv: lower priority of mkv module to 0

I've had it with this module. There is no support, let alone development, from the matroska folks anymore. I prefer to use ffmpeg which seems to be at least less crash prone and having more of a future. I'm not sure which features we are loosing due to this atm. Likely some meta info, probably ordered chapters and definetly the DVD menu capabilities.

11 years agoFixed ASS subtitle with anamorphic video.
Laurent Aimar [Mon, 15 Sep 2008 21:48:37 +0000 (23:48 +0200)]
Fixed ASS subtitle with anamorphic video.

11 years agoSimplify a bit scale factor computation by using helpers.
Laurent Aimar [Mon, 15 Sep 2008 21:25:06 +0000 (23:25 +0200)]
Simplify a bit scale factor computation by using helpers.

11 years agomacosx: We need the PL_LOCK here (May fix a race we have on startup).
Pierre d'Herbemont [Mon, 15 Sep 2008 21:38:25 +0000 (23:38 +0200)]
macosx: We need the PL_LOCK here (May fix a race we have on startup).

11 years agops demux: fix an issue in ps_pkt_read()
Derk-Jan Hartman [Mon, 15 Sep 2008 21:19:38 +0000 (23:19 +0200)]
ps demux: fix an issue in ps_pkt_read()

11 years agoquartztext: Better font compromise. (Use Arial Black instead of Verdana)
Pierre d'Herbemont [Mon, 15 Sep 2008 20:22:08 +0000 (22:22 +0200)]
quartztext: Better font compromise. (Use Arial Black instead of Verdana)

11 years agomacosx: fix forward button in main controller to go forward instead of backward
Derk-Jan Hartman [Mon, 15 Sep 2008 20:03:53 +0000 (22:03 +0200)]
macosx: fix forward button in main controller to go forward instead of backward

forward of [89044739e9c4a152b1a15b0faedb88cb9e54f18c]

11 years agoRemoved unused or redondant fields from subpicture.
Laurent Aimar [Mon, 15 Sep 2008 19:49:19 +0000 (21:49 +0200)]
Removed unused or redondant fields from subpicture.

I removed:
 i_x/i_y: redondant with region i_x/i_y. Now a subpicture always represent the
 whole video.
 i_flags: unused anywhere in the core.

 I may have broken a few video filters (osdmenu mainly). I will fix it if you
report the problem and the way to reproduce it.

11 years agoRemoved useless width/height fields in subpicture_t.
Laurent Aimar [Mon, 15 Sep 2008 18:55:23 +0000 (20:55 +0200)]
Removed useless width/height fields in subpicture_t.

11 years agoZero tab entries when you allocate them
Rémi Denis-Courmont [Mon, 15 Sep 2008 19:27:08 +0000 (22:27 +0300)]
Zero tab entries when you allocate them

Fix unitialized pointer usages (possibly exploitable).

11 years agoUseless FREENULL -> free
Rémi Denis-Courmont [Mon, 15 Sep 2008 19:26:52 +0000 (22:26 +0300)]
Useless FREENULL -> free

11 years agoEnabled AR change in deinterlace (typo).
Laurent Aimar [Mon, 15 Sep 2008 18:43:15 +0000 (20:43 +0200)]
Enabled AR change in deinterlace (typo).

11 years agoClean up subtitle core.
Laurent Aimar [Mon, 15 Sep 2008 17:34:45 +0000 (19:34 +0200)]
Clean up subtitle core.