vlc.git
12 years agoCheck for input/output size match here too. I hope that I didn't forget other files.
Antoine Cellerier [Thu, 28 Aug 2008 16:50:11 +0000 (18:50 +0200)]
Check for input/output size match here too. I hope that I didn't forget other files.

12 years agoIf you don't know how to scale ... don't pretend that you do. (Needs backporting)
Antoine Cellerier [Thu, 28 Aug 2008 16:42:40 +0000 (18:42 +0200)]
If you don't know how to scale ... don't pretend that you do. (Needs backporting)

12 years agoIf the thread does nothing, we might as well exit
Rémi Denis-Courmont [Thu, 28 Aug 2008 16:28:35 +0000 (19:28 +0300)]
If the thread does nothing, we might as well exit

12 years agopsz_intf_switch was read-only: remove dead code
Rémi Denis-Courmont [Thu, 28 Aug 2008 16:25:57 +0000 (19:25 +0300)]
psz_intf_switch was read-only: remove dead code

12 years agosignals: use the VLC thread API
Rémi Denis-Courmont [Thu, 28 Aug 2008 16:25:33 +0000 (19:25 +0300)]
signals: use the VLC thread API

12 years agoAdded a INPUT_CONTROL_RESTART_ES and use it in video_output.
Laurent Aimar [Thu, 28 Aug 2008 12:30:02 +0000 (14:30 +0200)]
Added a INPUT_CONTROL_RESTART_ES and use it in video_output.

This removes the need for suxor_thread_t.

12 years agoFixed a potential division by 0 in mp4 demuxer.
Laurent Aimar [Thu, 28 Aug 2008 11:07:32 +0000 (13:07 +0200)]
Fixed a potential division by 0 in mp4 demuxer.

12 years agoFixed segfault with I410 (it is 10 bits per pel).
Laurent Aimar [Thu, 28 Aug 2008 11:03:08 +0000 (13:03 +0200)]
Fixed segfault with I410 (it is 10 bits per pel).

It fixes SVQ1 (at least).

12 years agoClean up ogm parsing and fixed a potential memory overwrite.
Laurent Aimar [Thu, 28 Aug 2008 10:31:22 +0000 (12:31 +0200)]
Clean up ogm parsing and fixed a potential memory overwrite.

12 years agoEnable input recording for access_demux too.
Laurent Aimar [Thu, 28 Aug 2008 09:27:21 +0000 (11:27 +0200)]
Enable input recording for access_demux too.

12 years agoFixed audio visual activation introduced by [eff24974c62da8740d381ae45694474ac1ee2c05]
Laurent Aimar [Thu, 28 Aug 2008 09:25:21 +0000 (11:25 +0200)]
Fixed audio visual activation introduced by [eff24974c62da8740d381ae45694474ac1ee2c05]

12 years agoRevert part of c3baee8d05bc02734964fd8fcb3c66b8b88d8821. We no longer have the intl...
Jean-Paul Saman [Thu, 28 Aug 2008 06:58:22 +0000 (08:58 +0200)]
Revert part of c3baee8d05bc02734964fd8fcb3c66b8b88d8821. We no longer have the intl directory.

12 years agoFixed RGB ffmpeg color selection.
Laurent Aimar [Wed, 27 Aug 2008 22:33:36 +0000 (00:33 +0200)]
Fixed RGB ffmpeg color selection.

I have some doubt about it, either swscale does not respect the ffmpeg doc
or the doc is wrong (about the rgb mask).

12 years agoRequest RGBA when you want that (and not RV32).
Laurent Aimar [Wed, 27 Aug 2008 20:36:25 +0000 (22:36 +0200)]
Request RGBA when you want that (and not RV32).

This fixes the skin loading. The color seems wrong but I think the skin
code is right (vlc RGBA is stored in memory R, B, G, A).

12 years agoFix make dist
Christophe Mutricy [Wed, 27 Aug 2008 22:12:50 +0000 (23:12 +0100)]
Fix make dist

12 years agoSome more rules to make debug pkg for win32
Christophe Mutricy [Wed, 27 Aug 2008 20:09:40 +0000 (21:09 +0100)]
Some more rules to make debug pkg for win32

12 years agoupdate: vlc_savecancel now returns the cancel handle.
Pierre d'Herbemont [Wed, 27 Aug 2008 21:18:11 +0000 (23:18 +0200)]
update: vlc_savecancel now returns the cancel handle.

12 years agoSAP: no need to keep two dates per announce
Rémi Denis-Courmont [Sat, 23 Aug 2008 08:00:49 +0000 (11:00 +0300)]
SAP: no need to keep two dates per announce

12 years agoSAP out: do not access b_die directly
Rémi Denis-Courmont [Sat, 16 Aug 2008 16:30:46 +0000 (19:30 +0300)]
SAP out: do not access b_die directly

12 years agoSAP out: no need for net_Write here
Rémi Denis-Courmont [Sat, 16 Aug 2008 16:25:25 +0000 (19:25 +0300)]
SAP out: no need for net_Write here

12 years agoWin32: allocate cancellation data on the stack (cannot fail)
Rémi Denis-Courmont [Sat, 16 Aug 2008 08:56:51 +0000 (11:56 +0300)]
Win32: allocate cancellation data on the stack (cannot fail)

Better than an unlikely abort().

12 years ago(Potentially) allow pthread without pthread native cancellation
Rémi Denis-Courmont [Sat, 16 Aug 2008 08:20:48 +0000 (11:20 +0300)]
(Potentially) allow pthread without pthread native cancellation

12 years agoUDP access_out: get rid of block_FifoWake and blocking mwait()
Rémi Denis-Courmont [Tue, 12 Aug 2008 17:19:00 +0000 (20:19 +0300)]
UDP access_out: get rid of block_FifoWake and blocking mwait()

12 years agoRTP sout: get rid of block_FifoWake and don't get stuck in mwait()
Rémi Denis-Courmont [Mon, 11 Aug 2008 20:16:34 +0000 (23:16 +0300)]
RTP sout: get rid of block_FifoWake and don't get stuck in mwait()

12 years agoblock: cancellation safety
Rémi Denis-Courmont [Sun, 10 Aug 2008 18:44:52 +0000 (21:44 +0300)]
block: cancellation safety

(Eventually, this could replace block_FifoWake))

12 years agoCleanup helper for unlocking
Rémi Denis-Courmont [Sun, 10 Aug 2008 18:43:05 +0000 (21:43 +0300)]
Cleanup helper for unlocking

12 years agoSupport for cancellation cleanup functions
Rémi Denis-Courmont [Sun, 10 Aug 2008 18:06:11 +0000 (21:06 +0300)]
Support for cancellation cleanup functions

12 years agoRevert "Disable cancellation everywhere (except in msg_Dbg) to start with"
Rémi Denis-Courmont [Sun, 10 Aug 2008 17:14:17 +0000 (20:14 +0300)]
Revert "Disable cancellation everywhere (except in msg_Dbg) to start with"

Every thread function disables cancellation properly now.

12 years agoPlugins: push cancellation down
Rémi Denis-Courmont [Sun, 10 Aug 2008 16:49:48 +0000 (19:49 +0300)]
Plugins: push cancellation down

12 years agolibvlccore: push threads cancellation down vlc_thread_create
Rémi Denis-Courmont [Tue, 5 Aug 2008 19:12:27 +0000 (22:12 +0300)]
libvlccore: push threads cancellation down vlc_thread_create

12 years agovlc_object_kill: cancel the thread
Rémi Denis-Courmont [Sun, 6 Jul 2008 18:38:42 +0000 (21:38 +0300)]
vlc_object_kill: cancel the thread

12 years agoDisable cancellation everywhere (except in msg_Dbg) to start with
Rémi Denis-Courmont [Sun, 6 Jul 2008 18:35:27 +0000 (21:35 +0300)]
Disable cancellation everywhere (except in msg_Dbg) to start with

12 years agoObject functions: cancellation safety
Rémi Denis-Courmont [Sun, 3 Aug 2008 15:44:22 +0000 (18:44 +0300)]
Object functions: cancellation safety

12 years agomsg_(va)Generic: cancellation safety
Rémi Denis-Courmont [Sun, 6 Jul 2008 18:34:32 +0000 (21:34 +0300)]
msg_(va)Generic: cancellation safety

12 years agovlc_join is a cancellation point
Rémi Denis-Courmont [Wed, 27 Aug 2008 17:40:20 +0000 (20:40 +0300)]
vlc_join is a cancellation point

12 years agoWin32: mwait and msleep are cancellation points
Rémi Denis-Courmont [Wed, 6 Aug 2008 20:08:11 +0000 (23:08 +0300)]
Win32: mwait and msleep are cancellation points

Use SleepEx so APC can be executed

12 years agoWin32: vlc_cond_(timed)wait are cancellation points
Rémi Denis-Courmont [Sat, 9 Aug 2008 16:42:03 +0000 (19:42 +0300)]
Win32: vlc_cond_(timed)wait are cancellation points

12 years agoWin32: support cancellation through Asynchronus Procedure Call
Rémi Denis-Courmont [Sat, 16 Aug 2008 08:42:54 +0000 (11:42 +0300)]
Win32: support cancellation through Asynchronus Procedure Call

12 years agoSupport for cancelling self and use normal thread variable
Rémi Denis-Courmont [Wed, 6 Aug 2008 19:56:42 +0000 (22:56 +0300)]
Support for cancelling self and use normal thread variable

__thread is non-standard (and would need mingw 4.3).

12 years agoMove stuff around
Rémi Denis-Courmont [Sat, 9 Aug 2008 16:41:34 +0000 (19:41 +0300)]
Move stuff around

12 years agoMore natural prototype for vlc_savecancel
Rémi Denis-Courmont [Tue, 5 Aug 2008 18:44:47 +0000 (21:44 +0300)]
More natural prototype for vlc_savecancel

12 years agoStub cancellation support
Rémi Denis-Courmont [Fri, 11 Jul 2008 21:02:37 +0000 (00:02 +0300)]
Stub cancellation support

12 years agovlc_testcancel: explicit cancellation point
Rémi Denis-Courmont [Sun, 6 Jul 2008 18:14:32 +0000 (21:14 +0300)]
vlc_testcancel: explicit cancellation point

12 years agolibvlccore: vlc_thread_cancel() tangled object API
Rémi Denis-Courmont [Sat, 16 Aug 2008 08:38:14 +0000 (11:38 +0300)]
libvlccore: vlc_thread_cancel() tangled object API

12 years agovlc_cancel: POSIX thread cancellation
Rémi Denis-Courmont [Sun, 6 Jul 2008 18:10:58 +0000 (21:10 +0300)]
vlc_cancel: POSIX thread cancellation

12 years agovlc_savecancel, vlc_restorecancel: POSIX cancellation state management
Rémi Denis-Courmont [Sun, 6 Jul 2008 17:55:17 +0000 (20:55 +0300)]
vlc_savecancel, vlc_restorecancel: POSIX cancellation state management

12 years agoFix f4ad7994761cd2463ad15254aa5569a444484c7c
Rémi Denis-Courmont [Wed, 27 Aug 2008 19:38:22 +0000 (22:38 +0300)]
Fix f4ad7994761cd2463ad15254aa5569a444484c7c

12 years agoi18n: Fixes in Qt4 tooltips.
Christophe Mutricy [Wed, 27 Aug 2008 19:17:08 +0000 (20:17 +0100)]
i18n: Fixes in Qt4 tooltips.

Remeber that N_( DEFINE ) is not enough

Spotted-by: Cristian Secară
12 years agomacosx: Revert to the old texture window look.
Pierre d'Herbemont [Wed, 27 Aug 2008 18:13:00 +0000 (20:13 +0200)]
macosx: Revert to the old texture window look.

Too much workaround to use it.

12 years agoWin32: do not assume the thread is joined before it exits
Rémi Denis-Courmont [Wed, 27 Aug 2008 17:28:47 +0000 (20:28 +0300)]
Win32: do not assume the thread is joined before it exits

12 years agoPartially work around a picture link in libmpeg2.
Laurent Aimar [Wed, 27 Aug 2008 17:21:35 +0000 (19:21 +0200)]
Partially work around a picture link in libmpeg2.

It makes DVD (menu) usable (at least #1784, #1880).

12 years agoLibvlccore ABI has broken (DEMUX_CAN_PAUSE+ modified)
Rémi Denis-Courmont [Wed, 27 Aug 2008 17:10:25 +0000 (20:10 +0300)]
Libvlccore ABI has broken (DEMUX_CAN_PAUSE+ modified)

12 years agoThis is a development version...
Rémi Denis-Courmont [Wed, 27 Aug 2008 17:08:06 +0000 (20:08 +0300)]
This is a development version...

12 years agoFixed a buffer overread with broken oggs and check alloc values.
Laurent Aimar [Wed, 27 Aug 2008 16:18:52 +0000 (18:18 +0200)]
Fixed a buffer overread with broken oggs and check alloc values.

12 years agoJump to first title on menu error (workaround #1809)
Laurent Aimar [Wed, 27 Aug 2008 13:00:56 +0000 (15:00 +0200)]
Jump to first title on menu error (workaround #1809)

It will make dvdnav and dvdsimple having the same behaviour.

12 years agoFixed rear center support (and close #1816).
Laurent Aimar [Wed, 27 Aug 2008 12:49:41 +0000 (14:49 +0200)]
Fixed rear center support (and close #1816).

It also factorize channel order definitions.
The DTS order for middle channels can be wrong.

12 years agoRemove duplicate stdio.h (is included in vlc_common.h).
Jean-Paul Saman [Wed, 27 Aug 2008 15:06:38 +0000 (17:06 +0200)]
Remove duplicate stdio.h (is included in vlc_common.h).

12 years agoAdd video output that dumps raw YUV frames in a file, with YUV4MPEG2 compatible heade...
Jean-Paul Saman [Tue, 12 Aug 2008 10:11:17 +0000 (18:11 +0800)]
Add video output that dumps raw YUV frames in a file, with YUV4MPEG2 compatible header as used by mplayers yuv4mpeg video ouput module.

12 years agoAdd documentation.
Jean-Paul Saman [Wed, 27 Aug 2008 09:10:52 +0000 (11:10 +0200)]
Add documentation.

12 years agofix compiler warnings in modules/video_output/fb.c
Jean-Paul Saman [Wed, 13 Aug 2008 03:16:36 +0000 (11:16 +0800)]
fix compiler warnings in modules/video_output/fb.c

12 years agoAdd video_format_{Copy,Init,Clean} inline functions and bump ABI.
Jean-Paul Saman [Tue, 12 Aug 2008 10:10:27 +0000 (18:10 +0800)]
Add video_format_{Copy,Init,Clean} inline functions and bump ABI.

12 years agodocument vlc_fourcc_to_char() function.
Jean-Paul Saman [Tue, 12 Aug 2008 04:32:52 +0000 (12:32 +0800)]
document vlc_fourcc_to_char() function.

12 years agoFix comment.
Jean-Paul Saman [Tue, 12 Aug 2008 04:43:41 +0000 (12:43 +0800)]
Fix comment.

12 years agoHandle return value and fix memleaks.
Jean-Paul Saman [Tue, 12 Aug 2008 03:51:12 +0000 (11:51 +0800)]
Handle return value and fix memleaks.

12 years agoAdd scene filter which provides the same functionality as the vout_output image,...
Jean-Paul Saman [Fri, 1 Aug 2008 10:51:44 +0000 (12:51 +0200)]
Add scene filter which provides the same functionality as the vout_output image, but which can be inserted in a playback or stream out chain.

12 years agoignore these files/dirs
Jean-Paul Saman [Sun, 13 Jul 2008 17:12:25 +0000 (19:12 +0200)]
ignore these files/dirs

12 years agoRemoved stupid AR hack in libmpeg2.
Laurent Aimar [Wed, 27 Aug 2008 11:47:34 +0000 (13:47 +0200)]
Removed stupid AR hack in libmpeg2.

12 years agoFixed AR setting for dvdsimple, support AR for dvdnav.
Laurent Aimar [Wed, 27 Aug 2008 11:46:33 +0000 (13:46 +0200)]
Fixed AR setting for dvdsimple, support AR for dvdnav.

12 years agoCosmetic.
Laurent Aimar [Wed, 27 Aug 2008 11:34:08 +0000 (13:34 +0200)]
Cosmetic.

12 years agoFixed segfault with invalid vout input aspect ratio.
Laurent Aimar [Wed, 27 Aug 2008 11:31:26 +0000 (13:31 +0200)]
Fixed segfault with invalid vout input aspect ratio.

12 years agoCosmetics (Fixed mix up between 0 and NULL).
Laurent Aimar [Wed, 27 Aug 2008 11:24:02 +0000 (13:24 +0200)]
Cosmetics (Fixed mix up between 0 and NULL).

12 years agoCorrectly set the index keyframe flag in avi muxer.
Laurent Aimar [Wed, 27 Aug 2008 09:52:32 +0000 (11:52 +0200)]
Correctly set the index keyframe flag in avi muxer.

12 years agoSet picture flags (I/P/B) in mpeg4 packetizer.
Laurent Aimar [Wed, 27 Aug 2008 09:51:40 +0000 (11:51 +0200)]
Set picture flags (I/P/B) in mpeg4 packetizer.

This will help our muxers creating better files.

12 years agoFixed a potential crash due to a mix up between pitch and pixel pitch in blend.c.
Laurent Aimar [Wed, 27 Aug 2008 09:48:52 +0000 (11:48 +0200)]
Fixed a potential crash due to a mix up between pitch and pixel pitch in blend.c.

12 years agoCosmetic (record.c)
Laurent Aimar [Wed, 27 Aug 2008 09:43:24 +0000 (11:43 +0200)]
Cosmetic (record.c)

12 years agoAdded BLOCK_FLAG_TYPE_MASK define (helper).
Laurent Aimar [Wed, 27 Aug 2008 09:42:51 +0000 (11:42 +0200)]
Added BLOCK_FLAG_TYPE_MASK define (helper).

12 years agoFixed a potential crash in aout_FiltersPlay.
Laurent Aimar [Wed, 27 Aug 2008 09:38:37 +0000 (11:38 +0200)]
Fixed a potential crash in aout_FiltersPlay.

This function was returning a buffer allocated with the wrong type (alloca)
when a filter returned 0 sample (scaletempo at least).

12 years agoImproved eof detection on a few broken avi files.
Laurent Aimar [Tue, 26 Aug 2008 23:47:03 +0000 (01:47 +0200)]
Improved eof detection on a few broken avi files.

12 years agoRemove build-vlc, lxdialog and menuconfig: they are outdated,
Pavlov Konstantin [Wed, 27 Aug 2008 09:05:04 +0000 (13:05 +0400)]
Remove build-vlc, lxdialog and menuconfig: they are outdated,
unmaintained and confuse users.

12 years agoAlso use the input name in the recording file name. (Most medias don't NowPlaying...
Antoine Cellerier [Wed, 27 Aug 2008 00:11:33 +0000 (02:11 +0200)]
Also use the input name in the recording file name. (Most medias don't NowPlaying meta data)

12 years agoAlways enforce the "don't show if unavailable" option in format strings.
Antoine Cellerier [Wed, 27 Aug 2008 00:11:07 +0000 (02:11 +0200)]
Always enforce the "don't show if unavailable" option in format strings.

12 years agoFix make dist
Christophe Mutricy [Tue, 26 Aug 2008 23:33:09 +0000 (00:33 +0100)]
Fix make dist

12 years agoRemoved tabs and unwanted spaces in record.c
Laurent Aimar [Tue, 26 Aug 2008 23:25:22 +0000 (01:25 +0200)]
Removed tabs and unwanted spaces in record.c

12 years agoRemove access filter record from build system.
Laurent Aimar [Tue, 26 Aug 2008 23:22:51 +0000 (01:22 +0200)]
Remove access filter record from build system.

I forgot that changes in [f351451d9b294d126ee046c4d651cdcb6101dbf2]

12 years agoImproved record behaviour when sout is disabled.
Laurent Aimar [Tue, 26 Aug 2008 23:19:34 +0000 (01:19 +0200)]
Improved record behaviour when sout is disabled.

12 years agoCompilation fix when using --disable-sout.
Laurent Aimar [Tue, 26 Aug 2008 23:16:11 +0000 (01:16 +0200)]
Compilation fix when using --disable-sout.

12 years agoAdd information about variables having choices to the "vars" command.
Antoine Cellerier [Tue, 26 Aug 2008 21:10:49 +0000 (23:10 +0200)]
Add information about variables having choices to the "vars" command.

12 years agoFixed typo making swscaler useless for outputing RGBA.
Laurent Aimar [Tue, 26 Aug 2008 23:02:45 +0000 (01:02 +0200)]
Fixed typo making swscaler useless for outputing RGBA.

12 years agoFixed segfault when the subpicture scaler failed.
Laurent Aimar [Tue, 26 Aug 2008 23:01:44 +0000 (01:01 +0200)]
Fixed segfault when the subpicture scaler failed.

12 years agoRemoved now obsolete access filter record.
Laurent Aimar [Tue, 26 Aug 2008 22:30:44 +0000 (00:30 +0200)]
Removed now obsolete access filter record.

(access_filter_dump could probably be removed too)

12 years agoAdded recording on the fly through sout.
Laurent Aimar [Tue, 26 Aug 2008 21:10:56 +0000 (23:10 +0200)]
Added recording on the fly through sout.

12 years agoAdded new stream_out record module.
Laurent Aimar [Tue, 26 Aug 2008 19:35:25 +0000 (21:35 +0200)]
Added new stream_out record module.

The record module:

- automatically selects the right muxer and filename extension by
looking the ES codec. In case it fails, it probes directly the
muxers and keeps the better one.

- removes all ES packets until the first key frame.

- truncates the ES without key frame to match the start time of
the other tracks.

12 years agoAdded small block_ChainProperties helper.
Laurent Aimar [Tue, 26 Aug 2008 19:34:00 +0000 (21:34 +0200)]
Added small block_ChainProperties helper.

12 years agoDo not access to internal p_input sout in input_DecoderNew.
Laurent Aimar [Tue, 26 Aug 2008 13:56:57 +0000 (15:56 +0200)]
Do not access to internal p_input sout in input_DecoderNew.

12 years agoAdded missing const to sout_NewInstance.
Laurent Aimar [Tue, 26 Aug 2008 13:56:02 +0000 (15:56 +0200)]
Added missing const to sout_NewInstance.

12 years agoAdded nsv stream record mode support.
Laurent Aimar [Tue, 26 Aug 2008 12:11:52 +0000 (14:11 +0200)]
Added nsv stream record mode support.

12 years agoFixed record stream in case of stream_Read(NULL) and clean up.
Laurent Aimar [Tue, 26 Aug 2008 11:42:33 +0000 (13:42 +0200)]
Fixed record stream in case of stream_Read(NULL) and clean up.

12 years agoAdded record support at the stream_t level in core.
Laurent Aimar [Tue, 26 Aug 2008 10:54:18 +0000 (12:54 +0200)]
Added record support at the stream_t level in core.

The record access_filter will become useless as soon as all demuxers that can
support it will be modified.
The record support is half done. I will also add es_out_t record functionnalities,
and a way to selected one of them if both are supported.

12 years agoremove unused patch
Christophe Mutricy [Tue, 26 Aug 2008 21:09:09 +0000 (22:09 +0100)]
remove unused patch

12 years agoi18n: Fix in Qt4/Help
Christophe Mutricy [Tue, 26 Aug 2008 21:06:40 +0000 (22:06 +0100)]
i18n: Fix in Qt4/Help

Spotted-by: Cristian Secară