vlc.git
12 years agoFail if avcodec, avformat or swscale couldn't be found (instead of just printing...
Antoine Cellerier [Fri, 19 Sep 2008 16:45:00 +0000 (18:45 +0200)]
Fail if avcodec, avformat or swscale couldn't be found (instead of just printing an error).

12 years agoFactor variable operations, as they're always the same for a type
Rémi Denis-Courmont [Fri, 19 Sep 2008 15:51:28 +0000 (18:51 +0300)]
Factor variable operations, as they're always the same for a type

12 years agoFortuuuuuuuuuuuune!
Antoine Cellerier [Fri, 19 Sep 2008 15:26:13 +0000 (17:26 +0200)]
Fortuuuuuuuuuuuune!

12 years agocorrectly handle realloc() failure
Justus Piater [Thu, 18 Sep 2008 08:10:36 +0000 (10:10 +0200)]
correctly handle realloc() failure

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoconsistently use malloc()/free() for C-style strings
Justus Piater [Thu, 18 Sep 2008 08:11:22 +0000 (10:11 +0200)]
consistently use malloc()/free() for C-style strings

There was a mix of new/delete, malloc()/free() and even several
malloc()/delete, so this fixes actual bugs.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agofix rtp default ttl value
Sebastien Escudier [Fri, 19 Sep 2008 14:19:58 +0000 (16:19 +0200)]
fix rtp default ttl value

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoAllow 0 TTL
Sebastien Escudier [Fri, 19 Sep 2008 13:48:05 +0000 (15:48 +0200)]
Allow 0 TTL

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
12 years agoForce plugin rebuild
Rémi Denis-Courmont [Fri, 19 Sep 2008 14:26:05 +0000 (17:26 +0300)]
Force plugin rebuild

There are a bunch of crash-triggering ABI break, and a bunch of plugins
have removed (= old ABI plugins left in your tree) - bad combination.

12 years agoUse GCC atomics
Rémi Denis-Courmont [Thu, 18 Sep 2008 20:24:18 +0000 (23:24 +0300)]
Use GCC atomics

12 years agoGC: thread-safety, and offset independence
Rémi Denis-Courmont [Fri, 19 Sep 2008 13:49:29 +0000 (16:49 +0300)]
GC: thread-safety, and offset independence

12 years agoFix error message
Rémi Denis-Courmont [Fri, 19 Sep 2008 14:05:44 +0000 (17:05 +0300)]
Fix error message

12 years agoAvoid SSE2-specifics in generic code
Rémi Denis-Courmont [Fri, 19 Sep 2008 13:43:15 +0000 (16:43 +0300)]
Avoid SSE2-specifics in generic code

12 years agoExplicit parenthesis when mixing && and ||
Rémi Denis-Courmont [Fri, 19 Sep 2008 13:42:47 +0000 (16:42 +0300)]
Explicit parenthesis when mixing && and ||

12 years agovariables: VAR_CLASS != VAR_TYPE
Derk-Jan Hartman [Fri, 19 Sep 2008 12:16:15 +0000 (14:16 +0200)]
variables: VAR_CLASS != VAR_TYPE

This should fix a memleak with variable strings, and several other problems. Note that a CLASS detemines the basic type, and that TYPE is only a specific set within the CLASS. The variable types: VLC_VAR_KEY and VLC_VAR_INTEGER are both of CLASS integer. and thus compatible, when it comes to inheritence/init/free etc.

12 years agovariables: Inherit path is now parent->libvlc->saved config
Derk-Jan Hartman [Fri, 19 Sep 2008 12:09:18 +0000 (14:09 +0200)]
variables: Inherit path is now parent->libvlc->saved config

12 years agoAdd support for x264 >= 63
Dominique Leuenberger [Thu, 18 Sep 2008 19:29:50 +0000 (21:29 +0200)]
Add support for x264 >= 63

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
12 years agoSimplification no longer check for FPU capability.
Jean-Paul Saman [Tue, 9 Sep 2008 11:01:49 +0000 (13:01 +0200)]
Simplification no longer check for FPU capability.

12 years agoRemove unused argument in AllocatePicture() DeAllocatePicture().
Jean-Paul Saman [Tue, 9 Sep 2008 10:52:35 +0000 (12:52 +0200)]
Remove unused argument in AllocatePicture() DeAllocatePicture().

12 years agoQt4: Always parent all preferences to avoid funny windows/widget effects.
Jean-Baptiste Kempf [Fri, 19 Sep 2008 02:12:07 +0000 (19:12 -0700)]
Qt4: Always parent all preferences to avoid funny windows/widget effects.

12 years agoSPrefs: Add "Use hardware YUV->RGB conversion" since nVidia drivers are broken.
Jean-Baptiste Kempf [Fri, 19 Sep 2008 02:10:53 +0000 (19:10 -0700)]
SPrefs: Add "Use hardware YUV->RGB conversion" since nVidia drivers are broken.

As reported by TheFluff and various forum users.

12 years agoMKV: deinlined a function.
Jean-Baptiste Kempf [Fri, 19 Sep 2008 01:30:25 +0000 (18:30 -0700)]
MKV: deinlined a function.

12 years agoRemove remaining / in folder names, and use normale DIR_SEP in all platforms.
Jean-Baptiste Kempf [Fri, 19 Sep 2008 00:58:18 +0000 (17:58 -0700)]
Remove remaining / in folder names, and use normale DIR_SEP in all platforms.

This seems to have been an issue with many people on windows.

12 years agoQt: Forgotten native separators in open panel (cosmetic) and in preferences.
Jean-Baptiste Kempf [Thu, 18 Sep 2008 23:15:55 +0000 (16:15 -0700)]
Qt: Forgotten native separators in open panel (cosmetic) and in preferences.

Should repair skins options.

12 years agoDo not lose the playlist columns when switching to a different view.
Antoine Cellerier [Thu, 18 Sep 2008 23:59:15 +0000 (01:59 +0200)]
Do not lose the playlist columns when switching to a different view.

12 years agoCosmetics.
Antoine Cellerier [Thu, 18 Sep 2008 23:53:38 +0000 (01:53 +0200)]
Cosmetics.

12 years agoRestore postproc menu entry in qt4 intf.
Antoine Cellerier [Thu, 18 Sep 2008 22:32:45 +0000 (00:32 +0200)]
Restore postproc menu entry in qt4 intf.

Currently requires the postproc module to be loaded if you want it to work.

12 years agomacosx: Fix font chooser.
Pierre d'Herbemont [Thu, 18 Sep 2008 22:31:37 +0000 (00:31 +0200)]
macosx: Fix font chooser.

Switch back to quartztext, and use the NSFontPanel.

12 years agoRemove voutqt.m from vlc.xcodeproj.
Pierre d'Herbemont [Thu, 18 Sep 2008 21:42:04 +0000 (23:42 +0200)]
Remove voutqt.m from vlc.xcodeproj.

12 years agoAlways save position on exit.
Jean-Baptiste Kempf [Thu, 18 Sep 2008 22:13:14 +0000 (15:13 -0700)]
Always save position on exit.

12 years agoSmaller Play/Pause button. Bigger FS controller
Jean-Baptiste Kempf [Thu, 18 Sep 2008 22:02:09 +0000 (15:02 -0700)]
Smaller Play/Pause button. Bigger FS controller

12 years agoSomeone did not RTFM Qt::Key_Enter != Qt::Key_Return :D
Jean-Baptiste Kempf [Thu, 18 Sep 2008 21:56:27 +0000 (14:56 -0700)]
Someone did not RTFM Qt::Key_Enter != Qt::Key_Return :D

12 years agoQt4 : SPrefs, add a Frame when needed.
Jean-Baptiste Kempf [Thu, 18 Sep 2008 19:50:17 +0000 (12:50 -0700)]
Qt4 : SPrefs, add a Frame when needed.
(cherry picked from commit 7749487f9a3f90bc43f8c2f33b253590d12eede3)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 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.

12 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.

12 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

12 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

12 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

12 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

12 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.

12 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...)

12 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.

12 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.

12 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.

12 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.

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

12 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.

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

12 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.

12 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.

12 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

12 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.

12 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

12 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]

12 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.

12 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

12 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.

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

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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

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

12 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.

12 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.

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

12 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.

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

12 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.

12 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.

12 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.

12 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.

12 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 /

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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.

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

12 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.

12 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.

12 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.

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

12 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.

12 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.

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

12 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

12 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

12 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.

12 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

12 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.

12 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

12 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.

12 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.

12 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.