Commit Graph

32814 Commits

Author SHA1 Message Date
Laurent Aimar 13d1825167 Added picture_pool_t and functions helpers.
It is usefull to avoid reallocating pictures over and over.

 Becarefull, it is not yet thread safe as picture_t reference count
is not.
 I will change it when more work has been done on the vout.
2009-05-31 01:48:49 +02:00
Laurent Aimar 39321c06a7 Added a picture_fifo_t helper. 2009-05-31 01:48:48 +02:00
Laurent Aimar a1cd0034ec Added a picture_Reset helper. 2009-05-31 01:48:48 +02:00
Laurent Aimar c0e716129a Used subpicture_NewFromPicture in snapshot code. 2009-05-31 01:48:48 +02:00
Laurent Aimar 07b0512205 Added a subpicture_NewFromPicture helper. 2009-05-31 01:48:48 +02:00
JP Dinger 6d0ff11dec A few sprintf()+n in text/strings.c 2009-05-30 22:35:45 +02:00
JP Dinger 745dbe97f6 mozilla plugin: cosmetics. 2009-05-30 22:34:46 +02:00
Felix Paul Kühne 8114a97f9e contribs: enforce usage of gcc-4.2 instead of llvm-gcc-4.2 for libx264 to ensure proper linking on both PPC and x86 based Macs
Binary packages will need an update here.
2009-05-30 17:59:48 +02:00
JP Dinger efe23f26e1 Cosmetics: Remove need to (char*)"..." by making the target const, and replace a call to var_Get(bool) with var_GetBool. 2009-05-30 12:22:45 +02:00
JP Dinger ded081bcad vcdx: 100% cosmetics; indentation reformatting. 2009-05-30 12:22:45 +02:00
JP Dinger f5078293e0 Cosmetics, and pull finding the playlist sorting function back to top level. The meta_* functions are still wildly inefficient, though. 2009-05-30 12:22:45 +02:00
Rémi Duraffort d6c0a9652f visual: no need to strdup the name of the effect as it's only use with strcmp. 2009-05-30 11:18:50 +02:00
Derk-Jan Hartman c062239e6c macosx remote: Fix a leak in the Apple Remote class.
A thank you to the Xbmc authors who had this fixed in their version of Martin Kahr's class.
(cherry picked from commit 7157ad33673305f7947fe84ca78374bdba5e64f8)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:44 +02:00
Felix Paul Kühne 2ccc18b42a macosx: fixed another array which isn't released before recreation
(cherry picked from commit ced7fc2dd8673d5b4eeb8c95f98f456928f6f39a)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:43 +02:00
Derk-Jan Hartman 5ce1ac75d4 macosx vout: fix fullscreen behaviour on eof.
Fixes a bug introduced on [795fa06c63]
Closes #2794
(cherry picked from commit fc9987fa29409be3cae9743dbae265959477747c)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:43 +02:00
Rémi Duraffort 7cec1ea277 Quit correctly x264 codec when x264 failed.
(cherry picked from commit e4bbb16bb183b2cad499e088ccd99313d386df62)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:43 +02:00
Derk-Jan Hartman 45d3dd4bab macosx preferences: more memleaks
* initmethods returning nil. checks moved outside init.
* leaking module_config_get. Keep better track of those.
* spurious strdup
* leaked hotkeys NSMutableArray when resetting the preferences.
(cherry picked from commit 27d841889c9116d46be643fa482f9ca562d233f3)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:43 +02:00
Derk-Jan Hartman 262f762dfc macosx: remove a NSLog message.
(cherry picked from commit 5cbb5848e90522556a838ccf04646727fed10cc9)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:43 +02:00
Derk-Jan Hartman 1e0431230d macosx intf: Fix bug in equalizer
Introduced by [ca17039cd8dbaff98d0d4f08b94d3f3efa92af98]
(cherry picked from commit c543a40de86224b961a089d0a17374867f835da4)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:43 +02:00
Adrien Maglo 7cf05804b8 Fix a segfault : check the return value of x264_encoder_open().
According to x264 code, if it fails, it return NULL.
And with a first NULL parameter x264_encoder_headers() segfaults.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 77dea4efed8f1ce11edf551ac33b53ead9fb16a8)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:43 +02:00
Jean-Philippe Andre 1d7a69b16a Qt Sout dialog: MJPEG mux is "mpjpeg"
Note that "avformat{mux=mjpeg}" is also valid.
(cherry picked from commit f69af253a4fe0dbf4121c4a320d01adb1c6d0cab)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:43 +02:00
Rémi Duraffort 773c5ee4e6 Include vlc_url when using make_URI
(cherry picked from commit 7608496964e8ce6f3a740ccc4b41a76da096bd73)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:42 +02:00
Rafaël Carré 9a746cfa30 Fix xspf reading/writing
When reading a file:// URL from an xspf entry, store the decoded file path; else store the unmodified URL

Always keep album art URLs always encoded and decode the path when needed
Interfaces & plugins only use file paths
Playlist core extract attachment:// URLs (from file meta data), http:// or other (from meta data fetchers like lua) and cache them to a file

Thanks to courmisch for clarification

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit a654d4a14e)
2009-05-30 00:32:42 +02:00
Derk-Jan Hartman 1f374e04e9 Memleaks in Equalizer callback and Mac OS X audio module.
(cherry picked from commit 1d3b0ce24c9de1a35ca96addfffa2cd25ccd30fb)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:42 +02:00
Derk-Jan Hartman 2064a8566d macosx intf: Avoid using fixed sized buffer here.
(cherry picked from commit ca17039cd8dbaff98d0d4f08b94d3f3efa92af98)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:42 +02:00
Derk-Jan Hartman fe06aba78e macosx controls: Another string memleak.
(cherry picked from commit 1692e7000a5639bb70d1d48b761ee40707ddc560)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:42 +02:00
Derk-Jan Hartman 93b60e9b50 macosx intf: another strdup memleak
(cherry picked from commit a037a08d58e5b97af4ec09071818126fd581b27f)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:42 +02:00
Rémi Duraffort a1c9010bb4 access_directory: fix memleaks.
(cherry picked from commit cbe9981163a222b2e57ad266881750fdf6b5d2b2)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2009-05-30 00:32:42 +02:00
Derk-Jan Hartman 275126b277 memleaks: Several Mac OS X interface related memleaks.
(cherry picked from commit bc3883a52ee35d2d118f8a7c43093faa253cc0b4)
2009-05-30 00:32:42 +02:00
Derk-Jan Hartman 5f567ca598 macosx intf: Fix a strdup memleak
(cherry picked from commit 02b581e1dc54e8fe7c3ca6d24528539fd996ac13)
2009-05-30 00:32:42 +02:00
Rafaël Carré 2341f8bbc2 Remove unused unescape_URI() and unescape_URI_duplicate()
(cherry picked from commit b5687139f9ac84a7bdf03d9a9612950c43fe6ec2)
2009-05-30 00:32:42 +02:00
Rafaël Carré 5acc222066 dbus : fix a deadlock with p_events array
Mention that MPRIS is at version 1.0
Remove some trailing spaces
Remove unused argument 'lock' from MarshalStatus()
(cherry picked from commit f193adfbec380ac312c2f1a476a38e3172b7e993)
2009-05-30 00:32:42 +02:00
Felix Paul Kühne fd5ff0c96c macosx: fixed non-appearance of the verbose error panel and a few l10n things
(cherry picked from commit bad63db868d59b72dfc48ab767e5ee74f4d5d3c6)
2009-05-30 00:32:41 +02:00
Felix Paul Kühne b241cb486a fixed distribution as dmg if srcdir != top_builddir
(cherry picked from commit feec0f30c55220f3f0be73940899f036cc72c012)
2009-05-30 00:32:41 +02:00
Rafaël Carré 6ab0bd532b Fix mozilla autoconf check : AC_PATH_PROGS() was used incorrectly, and the check wouldn't error if {mozilla,seamonkey}-config or xulrunner wasn't found
(cherry picked from commit f3fe98dbb4255e70fec8f12c5bba44749122930b)
2009-05-30 00:32:41 +02:00
Felix Paul Kühne 20969655cb l10n: first update of the German translation
Lots of strings still missing, help would be welcome
(cherry picked from commit 946eba4adf89f4727dcecf84e20cf8cf98110cb4)
2009-05-30 00:32:41 +02:00
Rémi Duraffort ebbecd97a4 invmem: fix potential memleaks. 2009-05-30 00:32:41 +02:00
JP Dinger 88acaceec1 playlist/sort.c: remove globals, replace with pointers to generated stubs. 2009-05-30 00:20:18 +02:00
JP Dinger 5e89b62754 playlist sorting: for inline to work, the text has to be available. IE putting the function behind all others that use it isn't going to work, and marking forward declarations inline won't help fix it. 2009-05-30 00:20:17 +02:00
JP Dinger 048c897eb3 A couple more obvious missing (int64_t) cast fixes. 2009-05-29 14:44:42 +02:00
Sigmund Augdal b01b54b072 dbus: Fix an integer overflow when seeking more than ~2000 seconds. 2009-05-29 12:53:56 +02:00
Rémi Duraffort 043921e86a Update effects list. 2009-05-29 12:29:43 +02:00
Rémi Duraffort ad4996eb5f Avoid using msg_* when running out of memory. 2009-05-29 12:29:43 +02:00
Pierre Ynard 318f79379d WinCE: typo
Fix compilation
2009-05-29 11:32:22 +02:00
Rémi Duraffort 42ec45ca0e Be consistent with module naming. 2009-05-28 23:29:40 +02:00
Rémi Duraffort 86061ec569 Proprifications, fix some issues and factorize. 2009-05-28 23:26:57 +02:00
Rémi Denis-Courmont 55c960749e Merge branch 'base' into master 2009-05-27 18:50:08 +03:00
Rémi Denis-Courmont 8e4c60f63e RTP output: fix port allocation in all cases 2009-05-27 18:44:59 +03:00
Derk-Jan Hartman b74ce937e0 macosx playlist: fix an unreachable update of the Media Info panel
(cherry picked from commit cbccd7297c241830e796f0f239b4b90d19c16c75)

Signed-off-by: Derk-Jan Hartman <hartman@videolan.org>
2009-05-27 15:30:30 +02:00
Felix Paul Kühne 6f8279db22 strip modern nib-files correctly when doing release builds
No need to backport this, as 1.0-bugfix only includes classic nibs
2009-05-27 12:05:07 +02:00