vlc.git
12 years agoplaylist: Correctly indicate why we put a buggy yield() at this place. And document...
Pierre d'Herbemont [Tue, 1 Apr 2008 20:31:07 +0000 (22:31 +0200)]
playlist: Correctly indicate why we put a buggy yield() at this place. And document a bit that nasty recusrsive ML_Decref() function.

This comes with my official excuses to funman.

12 years agoFix media library reference counting
Rafaël Carré [Tue, 1 Apr 2008 20:13:46 +0000 (22:13 +0200)]
Fix media library reference counting

Please TEST your changes before pushing
At least, READ the code instead of modifying it blindly

12 years agoplaylist: Don't lock/unlock where not needed.
Pierre d'Herbemont [Tue, 1 Apr 2008 19:45:34 +0000 (21:45 +0200)]
playlist: Don't lock/unlock where not needed.

Pointed-out-by: Rafaël Carré <funman@videolan.org>
12 years agoplaylist: Correctly decref where we use the object.
Pierre d'Herbemont [Tue, 1 Apr 2008 19:44:33 +0000 (21:44 +0200)]
playlist: Correctly decref where we use the object.

12 years agoFix media library's input items reference counting
Rafaël Carré [Tue, 1 Apr 2008 19:12:34 +0000 (21:12 +0200)]
Fix media library's input items reference counting

12 years agoAdd options for controlling AQ in x264_BUILD >= 59
Ilkka Ollakka [Tue, 1 Apr 2008 08:43:33 +0000 (11:43 +0300)]
Add options for controlling AQ in x264_BUILD >= 59

12 years agoThis was of course not intended...
Jean-Baptiste Kempf [Tue, 1 Apr 2008 00:40:36 +0000 (17:40 -0700)]
This was of course not intended...

12 years agoLayout cosmetics for crop UI.
Jean-Baptiste Kempf [Tue, 1 Apr 2008 00:36:09 +0000 (17:36 -0700)]
Layout cosmetics for crop UI.

12 years agoDo the cropping from the extended panel.
Jean-Baptiste Kempf [Tue, 1 Apr 2008 00:27:05 +0000 (17:27 -0700)]
Do the cropping from the extended panel.

12 years agoplaylist: To avoid race on p_input destruction, keep a reference around while we...
Pierre d'Herbemont [Mon, 31 Mar 2008 23:50:05 +0000 (01:50 +0200)]
playlist: To avoid race on p_input destruction, keep a reference around while we need it in playlist_MLLoad().

12 years agolibvlc: Add some more info on the input item we may leak.
Pierre d'Herbemont [Mon, 31 Mar 2008 23:26:38 +0000 (01:26 +0200)]
libvlc: Add some more info on the input item we may leak.

12 years agoplaylist: Proper locking when editing playlist variable in loadsave.c. Also correctly...
Pierre d'Herbemont [Mon, 31 Mar 2008 23:25:54 +0000 (01:25 +0200)]
playlist: Proper locking when editing playlist variable in loadsave.c. Also correctly release p_ml_onelevel->p_input and p_ml_category->p_input when changing them.

This fixes partly make check and input items leaks.

12 years agoVLCKit.framework: Update documentation, clean up whitespace, reorganize code, and...
Faustino Osuna [Mon, 31 Mar 2008 22:58:30 +0000 (23:58 +0100)]
VLCKit.framework: Update documentation, clean up whitespace, reorganize code, and remove dead code.

12 years agoVLCKit.framework: Remove dead code from VLCTime object.
Faustino Osuna [Mon, 31 Mar 2008 22:57:19 +0000 (23:57 +0100)]
VLCKit.framework: Remove dead code from VLCTime object.

12 years agoVLCKit.framework: Reorganize project files.
Faustino Osuna [Mon, 31 Mar 2008 22:32:34 +0000 (23:32 +0100)]
VLCKit.framework: Reorganize project files.

12 years agoVLCKit.framework: Documentation updates and whitespace cleanup.
Faustino Osuna [Mon, 31 Mar 2008 22:28:26 +0000 (23:28 +0100)]
VLCKit.framework: Documentation updates and whitespace cleanup.

12 years agotest code cleanup
Filippo Carone [Mon, 31 Mar 2008 22:16:29 +0000 (00:16 +0200)]
test code cleanup

12 years agonew (failing) test for libvlc
Filippo Carone [Mon, 31 Mar 2008 22:03:15 +0000 (00:03 +0200)]
new (failing) test for libvlc

12 years agoVLCKit.framework: Update project layout.
Faustino Osuna [Mon, 31 Mar 2008 22:05:28 +0000 (23:05 +0100)]
VLCKit.framework: Update project layout.

12 years agoVLCKit.framework: Documentation updates, whitespace cleanup.
Faustino Osuna [Mon, 31 Mar 2008 22:02:12 +0000 (23:02 +0100)]
VLCKit.framework: Documentation updates, whitespace cleanup.

12 years agoChangeLogs are automagically generated
Rafaël Carré [Mon, 31 Mar 2008 21:09:15 +0000 (23:09 +0200)]
ChangeLogs are automagically generated

12 years agoAvoid leaking input items
Rafaël Carré [Mon, 31 Mar 2008 20:43:21 +0000 (22:43 +0200)]
Avoid leaking input items

12 years agoAssert that we don't leak input items
Rafaël Carré [Mon, 31 Mar 2008 20:26:56 +0000 (22:26 +0200)]
Assert that we don't leak input items

12 years agoFix RTCP SR SDES length field - close #1541
Rémi Denis-Courmont [Mon, 31 Mar 2008 18:43:32 +0000 (21:43 +0300)]
Fix RTCP SR SDES length field - close #1541

12 years agoDon't attempt to create ChangeLogs if not in a git-tree.
Rémi Denis-Courmont [Mon, 31 Mar 2008 16:40:48 +0000 (19:40 +0300)]
Don't attempt to create ChangeLogs if not in a git-tree.

There is no need to copy the files in that case thanks to VPATH.
That assumes you are using a source tarball then - if not, you are
screwed anywhow.

12 years agoIgnore config.status (weird that it's not already done recursively)
Rémi Denis-Courmont [Mon, 31 Mar 2008 16:39:57 +0000 (19:39 +0300)]
Ignore config.status (weird that it's not already done recursively)

12 years agoRemove failing and broken-by-design test
Rémi Denis-Courmont [Mon, 31 Mar 2008 16:27:07 +0000 (19:27 +0300)]
Remove failing and broken-by-design test

12 years agoFix make distcheck
Rémi Denis-Courmont [Mon, 31 Mar 2008 16:15:20 +0000 (19:15 +0300)]
Fix make distcheck

12 years agoRevert "Copy the changelogs if they exist instead of generating them with git"
Rémi Denis-Courmont [Mon, 31 Mar 2008 15:53:43 +0000 (18:53 +0300)]
Revert "Copy the changelogs if they exist instead of generating them with git"

This reverts commit 70f620e7f94eb02fc6f5eda47599ae5354c12483.

12 years agoCopy the changelogs if they exist instead of generating them with git
Rafaël Carré [Mon, 31 Mar 2008 15:45:49 +0000 (17:45 +0200)]
Copy the changelogs if they exist instead of generating them with git

Fix make distcheck
(cherry picked from commit 70f620e7f94eb02fc6f5eda47599ae5354c12483)

12 years agocmake: Support for libs/loader.
Pierre d'Herbemont [Mon, 31 Mar 2008 15:39:53 +0000 (17:39 +0200)]
cmake: Support for libs/loader.

12 years agoCompile fix for QT 4.2.
Jean-Baptiste Kempf [Mon, 31 Mar 2008 15:07:09 +0000 (08:07 -0700)]
Compile fix for QT 4.2.

12 years agoFix git calling out of the source tree
Rafaël Carré [Mon, 31 Mar 2008 14:57:13 +0000 (16:57 +0200)]
Fix git calling out of the source tree

12 years agoClean changelogs, but not too often
Rémi Denis-Courmont [Mon, 31 Mar 2008 14:41:42 +0000 (17:41 +0300)]
Clean changelogs, but not too often

12 years agoAutomate ChangeLog-2008 too
Rémi Denis-Courmont [Mon, 31 Mar 2008 14:39:14 +0000 (17:39 +0300)]
Automate ChangeLog-2008 too

(needs to check make distclean now)

12 years agoGenerate old ChangeLogs automatically
Rémi Denis-Courmont [Mon, 31 Mar 2008 14:32:49 +0000 (17:32 +0300)]
Generate old ChangeLogs automatically

12 years agodoc: Suggest to use git shortlog -s to show the author of changeset of this particula...
Pierre d'Herbemont [Mon, 31 Mar 2008 13:52:34 +0000 (15:52 +0200)]
doc: Suggest to use git shortlog -s to show the author of changeset of this particular release.

12 years agodoc: update the release howto for git.
Pierre d'Herbemont [Mon, 31 Mar 2008 13:41:17 +0000 (15:41 +0200)]
doc: update the release howto for git.

12 years agoVerbosely report EOF
Rafaël Carré [Mon, 31 Mar 2008 13:25:09 +0000 (15:25 +0200)]
Verbosely report EOF

12 years agoFix infinite loop
Rafaël Carré [Sat, 29 Mar 2008 05:31:02 +0000 (06:31 +0100)]
Fix infinite loop

12 years agoloader: Upgrade pop/push pack headers from latest wine git to fix compilation on...
Pierre d'Herbemont [Mon, 31 Mar 2008 12:31:26 +0000 (14:31 +0200)]
loader: Upgrade pop/push pack headers from latest wine git to fix compilation on darwin.

12 years agocontrib: Put the install directories in gitignore, not only their content. (This...
Pierre d'Herbemont [Mon, 31 Mar 2008 11:51:58 +0000 (13:51 +0200)]
contrib: Put the install directories in gitignore, not only their content. (This makes git clean -f -d working properly).

12 years agoinput: SoutKeep() needs to pay attention to the cases where the playlist doesn't...
Pierre d'Herbemont [Mon, 31 Mar 2008 11:42:50 +0000 (13:42 +0200)]
input: SoutKeep() needs to pay attention to the cases where the playlist doesn't exists.

Signed-off-by: Rafaël Carré <funman@videolan.org>
12 years agoThanks Tanguy Krotoff.
Pierre d'Herbemont [Mon, 31 Mar 2008 10:24:23 +0000 (12:24 +0200)]
Thanks Tanguy Krotoff.

12 years agolibvlc: rename all libvlc_MediaInstance in libvlc_MediaPlayer and libvlc_MediaDescrip...
Tanguy Krotoff [Mon, 31 Mar 2008 04:35:08 +0000 (06:35 +0200)]
libvlc: rename all libvlc_MediaInstance in libvlc_MediaPlayer and libvlc_MediaDescriptor to libvlc_Media

Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
12 years agolibvlc: add libvlc_MediaInstanceStopped
Tanguy Krotoff [Mon, 31 Mar 2008 04:35:07 +0000 (06:35 +0200)]
libvlc: add libvlc_MediaInstanceStopped

Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
12 years agoh264 packetizer : do not trust the input data in p_extra
Rafaël Carré [Mon, 31 Mar 2008 08:07:14 +0000 (10:07 +0200)]
h264 packetizer : do not trust the input data in p_extra

12 years agoh264: fix maximum size calculation
Rafaël Carré [Mon, 31 Mar 2008 07:53:56 +0000 (09:53 +0200)]
h264: fix maximum size calculation

12 years agoReally fix H264 packetizing: abort PacketizeAVC1() if computed size is too huge
Rafaël Carré [Mon, 31 Mar 2008 07:37:58 +0000 (09:37 +0200)]
Really fix H264 packetizing: abort PacketizeAVC1() if computed size is too huge

12 years agoH264 packetizer : NEVER TRUST INPUT !!
Rafaël Carré [Fri, 28 Mar 2008 15:51:16 +0000 (16:51 +0100)]
H264 packetizer : NEVER TRUST INPUT !!

Do not allocate ridiculous amount of datas.

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
12 years agoDon't crash when deinterlacing fails.
Jean-Paul Saman [Fri, 28 Mar 2008 12:44:29 +0000 (13:44 +0100)]
Don't crash when deinterlacing fails.

12 years agoAdd space after , in defining module properties.
Jean-Paul Saman [Fri, 28 Mar 2008 12:24:38 +0000 (13:24 +0100)]
Add space after , in defining module properties.

12 years agoActions on cropping UI. This doesn't work yet, because I am unsure of the good way...
Jean-Baptiste Kempf [Mon, 31 Mar 2008 07:13:26 +0000 (00:13 -0700)]
Actions on cropping UI. This doesn't work yet, because I am unsure of the good way to do it. Ref #1400.

12 years agoInterface for pixel cropping. Ref #1400
Jean-Baptiste Kempf [Mon, 31 Mar 2008 06:13:55 +0000 (23:13 -0700)]
Interface for pixel cropping. Ref #1400

12 years agoname fix.
Jean-Baptiste Kempf [Mon, 31 Mar 2008 05:54:53 +0000 (22:54 -0700)]
name fix.

12 years agoForgotten in previous commit.
Jean-Baptiste Kempf [Mon, 31 Mar 2008 05:46:17 +0000 (22:46 -0700)]
Forgotten in previous commit.

12 years agoAdd panoramix to the UI.
Jean-Baptiste Kempf [Mon, 31 Mar 2008 05:42:33 +0000 (22:42 -0700)]
Add panoramix to the UI.

12 years agoMinor Layout modifications in Extended filters.
Jean-Baptiste Kempf [Mon, 31 Mar 2008 05:40:13 +0000 (22:40 -0700)]
Minor Layout modifications in Extended filters.
Adding Panoramix there.

12 years agoString renaming.
Jean-Baptiste Kempf [Mon, 31 Mar 2008 05:23:27 +0000 (22:23 -0700)]
String renaming.

12 years agoLayout rework and update button.
Jean-Baptiste Kempf [Mon, 31 Mar 2008 05:22:53 +0000 (22:22 -0700)]
Layout rework and update button.

12 years agoConnect the buttons to the actions.
Jean-Baptiste Kempf [Mon, 31 Mar 2008 05:09:12 +0000 (22:09 -0700)]
Connect the buttons to the actions.
Renamings.

12 years agoSubs Speed Rate controls.
Jean-Baptiste Kempf [Mon, 31 Mar 2008 04:46:11 +0000 (21:46 -0700)]
Subs Speed Rate controls.

12 years agoinput: Don't assume the playlist always exists.
Pierre d'Herbemont [Mon, 31 Mar 2008 01:29:31 +0000 (03:29 +0200)]
input: Don't assume the playlist always exists.

12 years agosap: Use vlc_custom_create to create the object. (This fixes a misuse of vlc_object_c...
Pierre d'Herbemont [Mon, 31 Mar 2008 00:24:56 +0000 (02:24 +0200)]
sap: Use vlc_custom_create to create the object. (This fixes a misuse of vlc_object_create too).

12 years agolibvlc: Destroy libvlc's vlm instance before the stats destruction to avoid input...
Pierre d'Herbemont [Sun, 30 Mar 2008 23:07:45 +0000 (01:07 +0200)]
libvlc: Destroy libvlc's vlm instance before the stats destruction to avoid input crashes.

12 years agolibvlc: In order not to be confused by a vlm created elsewhere, use a libvlc instance...
Pierre d'Herbemont [Sun, 30 Mar 2008 23:02:49 +0000 (01:02 +0200)]
libvlc: In order not to be confused by a vlm created elsewhere, use a libvlc instance variable to old the vlm libvlc created if --vlm-conf was specified.

This also make sure the vlm created when --vlm-conf is specified gets really destroyed. Because find_object yields vlm and is never released.

12 years agoinput: Remove input_ItemClean and input_ItemInit from public land.
Pierre d'Herbemont [Sun, 30 Mar 2008 22:44:47 +0000 (00:44 +0200)]
input: Remove input_ItemClean and input_ItemInit from public land.

12 years agolibvlc: Don't use input_ItemClean. Anyway when we leak an object there is no use...
Pierre d'Herbemont [Sun, 30 Mar 2008 22:44:25 +0000 (00:44 +0200)]
libvlc: Don't use input_ItemClean. Anyway when we leak an object there is no use to delete it in the end. The mistake has already been done.

12 years agovlm: Only use gc enabled input item. (input_ItemClean and input_ItemInit shouldn...
Pierre d'Herbemont [Sun, 30 Mar 2008 22:41:47 +0000 (00:41 +0200)]
vlm: Only use gc enabled input item. (input_ItemClean and input_ItemInit shouldn't be used directly).

12 years agoinput: Allow NULL item name.
Pierre d'Herbemont [Sun, 30 Mar 2008 22:39:57 +0000 (00:39 +0200)]
input: Allow NULL item name.

12 years agoInstantiate VLM if vlm-conf option is used. You can now use VLM without having to...
Antoine Cellerier [Sun, 30 Mar 2008 20:47:47 +0000 (22:47 +0200)]
Instantiate VLM if vlm-conf option is used. You can now use VLM without having to launch the telnet or http interface.

12 years agoDon't yield the playlist object when it's dead already
Rafaël Carré [Sun, 30 Mar 2008 18:50:59 +0000 (20:50 +0200)]
Don't yield the playlist object when it's dead already

12 years agoplaylist: Fix a possible dead lock when the playlist is killed.
Pierre d'Herbemont [Sun, 30 Mar 2008 17:02:00 +0000 (19:02 +0200)]
playlist: Fix a possible dead lock when the playlist is killed.

We do maintain a lock around vlc_object_alive() because we want to make sure we won't miss the point when a concurrent thread will call vlc_object_kill(), that is set b_die and vlc_object_signal(). If we missed b_die and the signal, next vlc_object_wait() will dead lock.

12 years agolibvlc: add functions libvlc_get_version() and others
Tanguy Krotoff [Sun, 30 Mar 2008 14:57:50 +0000 (16:57 +0200)]
libvlc: add functions libvlc_get_version() and others

Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
12 years agoplaylist: Use PL_LOCK and PL_UNLOCK.
Pierre d'Herbemont [Sun, 30 Mar 2008 15:08:18 +0000 (17:08 +0200)]
playlist: Use PL_LOCK and PL_UNLOCK.

12 years agoplaylist: Use vlc_object_alive().
Pierre d'Herbemont [Sun, 30 Mar 2008 14:48:58 +0000 (16:48 +0200)]
playlist: Use vlc_object_alive().

We can't do what is advised in the documentation of vlc_object_alive(), but we try to stay close enough of it.

12 years agoCheck cond_wait() return value - Fix a deadlock
Rafaël Carré [Sun, 30 Mar 2008 14:43:54 +0000 (16:43 +0200)]
Check cond_wait() return value - Fix a deadlock

Remove useless variable

12 years agoDo not mix time() and mdate()
Rafaël Carré [Sun, 30 Mar 2008 11:23:42 +0000 (13:23 +0200)]
Do not mix time() and mdate()

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
12 years agosmall adjustment on decoder/encoder fmt_in/out for new_video_filter
Ilkka Ollakka [Fri, 28 Mar 2008 22:25:19 +0000 (00:25 +0200)]
small adjustment on decoder/encoder fmt_in/out for new_video_filter

12 years agoCosmetic fix
Rémi Denis-Courmont [Sun, 30 Mar 2008 14:30:41 +0000 (17:30 +0300)]
Cosmetic fix

12 years agocmake: media_descriptor->media media_instance->media_player.
Pierre d'Herbemont [Sun, 30 Mar 2008 14:20:27 +0000 (16:20 +0200)]
cmake: media_descriptor->media media_instance->media_player.

12 years agoUse var_AcquireMutex for the "libvlc" lock
Rémi Denis-Courmont [Sun, 30 Mar 2008 14:14:47 +0000 (17:14 +0300)]
Use var_AcquireMutex for the "libvlc" lock

12 years agoDo NOT destroy the "libvlc"/global/bank/whatever lock variable.
Rémi Denis-Courmont [Sun, 30 Mar 2008 14:05:55 +0000 (17:05 +0300)]
Do NOT destroy the "libvlc"/global/bank/whatever lock variable.

The whole point of a global lock is that it is... global. Destroying it
every time it's released is severe brain damage, as we end up taking a
different lock all the time (or worse destroying the lock while another
threads is competing for it).

12 years ago*Partially* fix the module bank initialization serialization
Rémi Denis-Courmont [Sun, 30 Mar 2008 14:02:23 +0000 (17:02 +0300)]
*Partially* fix the module bank initialization serialization

We should really keep the global "libvlc" lock while initializing the
modules bank. Otherwise, if a second instance is created while the
first one is initializing, it may get an incomplete bank. This commit
addresses the problem w.r.t. the "main" module - only.

12 years agoRemove dummy condition - looks like a cut&paste accident
Rémi Denis-Courmont [Sun, 30 Mar 2008 13:47:47 +0000 (16:47 +0300)]
Remove dummy condition - looks like a cut&paste accident

12 years agoUse p_libvlc_global rather than libvlc_global directly
Rémi Denis-Courmont [Sun, 30 Mar 2008 13:46:30 +0000 (16:46 +0300)]
Use p_libvlc_global rather than libvlc_global directly

12 years agoRemove HTTPD object type
Rémi Denis-Courmont [Sun, 30 Mar 2008 13:35:31 +0000 (16:35 +0300)]
Remove HTTPD object type

12 years agoLink xvmc vout with libXxf86vm when available
Rafaël Carré [Sun, 30 Mar 2008 13:54:33 +0000 (15:54 +0200)]
Link xvmc vout with libXxf86vm when available

12 years agoDocument object memory layoyt
Rémi Denis-Courmont [Sun, 30 Mar 2008 08:42:52 +0000 (11:42 +0300)]
Document object memory layoyt

12 years agoInterface to delay subtitles and audio. Most of ##1491
Jean-Baptiste Kempf [Sun, 30 Mar 2008 03:42:48 +0000 (20:42 -0700)]
Interface to delay subtitles and audio. Most of ##1491

12 years agoStart of the work for the audio/video/subs synchronisation
Jean-Baptiste Kempf [Sun, 30 Mar 2008 02:08:07 +0000 (19:08 -0700)]
Start of the work for the audio/video/subs synchronisation

12 years agolibvlc: rename libvlc_media_descriptor to libvlc_media and libvlc_media_instance...
Pierre d'Herbemont [Sun, 30 Mar 2008 01:59:32 +0000 (03:59 +0200)]
libvlc: rename libvlc_media_descriptor to libvlc_media and libvlc_media_instance to libvlc_media_player.

12 years agoReduce Space in effects UI.
Jean-Baptiste Kempf [Sun, 30 Mar 2008 01:39:04 +0000 (18:39 -0700)]
Reduce Space in effects UI.

12 years agoNo need for FFmpeg protocols.
Jean-Baptiste Kempf [Sun, 30 Mar 2008 01:18:17 +0000 (18:18 -0700)]
No need for FFmpeg protocols.

12 years agoGood location.
Jean-Baptiste Kempf [Sun, 30 Mar 2008 01:17:27 +0000 (18:17 -0700)]
Good location.

12 years agoRevert "ffmpeg RTSP Windows patch -- unsupported error message"
Jean-Baptiste Kempf [Sun, 30 Mar 2008 01:17:06 +0000 (18:17 -0700)]
Revert "ffmpeg RTSP Windows patch -- unsupported error message"

Wrong dir

This reverts commit f11a132c4c66b8c1dce324578a5b2081a687d22c.

12 years agoSmall UI fix.
Jean-Baptiste Kempf [Sun, 30 Mar 2008 01:09:28 +0000 (18:09 -0700)]
Small UI fix.

12 years agomedia_list.c: Fix crash showed by the new testapi tests.
Pierre d'Herbemont [Sun, 30 Mar 2008 00:59:26 +0000 (01:59 +0100)]
media_list.c: Fix crash showed by the new testapi tests.

12 years agoAdd tests for media list.
Lukas Durfina [Fri, 28 Mar 2008 19:40:44 +0000 (20:40 +0100)]
Add tests for media list.

Signed-off-by: Pierre d'Herbemont <pdherbemont@free.fr>
12 years agoRevert "libvlc: Wait for input end."
Pierre d'Herbemont [Sun, 30 Mar 2008 00:36:26 +0000 (01:36 +0100)]
Revert "libvlc: Wait for input end."

This reverts commit 1dfd50c2ad27eba42ab4d39b84f9d04e6fc4d259.
This is no needed of such a hack if there is no circular dependency between input and vout and if the input are properly released.