vlc.git
6 years agoomxil: Activate mpeg2 on broadcom omx.
Julian Scheel [Wed, 21 Aug 2013 08:52:29 +0000 (10:52 +0200)]
omxil: Activate mpeg2 on broadcom omx.

Activate the mpeg2 module in the broadcom omx core. If this is used on a
Raspberry it is required to have a MPEG2 license key to activate this core.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoQt: use mux=flac for encoding extension
Jean-Baptiste Kempf [Tue, 20 Aug 2013 22:19:21 +0000 (00:19 +0200)]
Qt: use mux=flac for encoding extension

Same issue as mp3 .raw extensions

6 years agoflac encoders: use the long format extradata
Rafaël Carré [Tue, 20 Aug 2013 21:56:03 +0000 (23:56 +0200)]
flac encoders: use the long format extradata

fLaC marker is helpful for file format detection

6 years agoQt: correctly restore the undocked playlist state
Jean-Baptiste Kempf [Tue, 20 Aug 2013 17:39:24 +0000 (19:39 +0200)]
Qt: correctly restore the undocked playlist state

Close #9223

6 years agoQt: fix a potential crash in audioDevice Menu
Jean-Baptiste Kempf [Tue, 20 Aug 2013 16:56:50 +0000 (18:56 +0200)]
Qt: fix a potential crash in audioDevice Menu

Close #9222

6 years agoMP4: do not set total tracks to 0
Jean-Baptiste Kempf [Tue, 20 Aug 2013 13:27:49 +0000 (15:27 +0200)]
MP4: do not set total tracks to 0

That doesn't really make sense

6 years agocontrib: png: don't build binaries
Rafaël Carré [Tue, 20 Aug 2013 12:06:00 +0000 (14:06 +0200)]
contrib: png: don't build binaries

6 years agocontrib: iconv: don't build binaries
Rafaël Carré [Tue, 20 Aug 2013 12:03:51 +0000 (14:03 +0200)]
contrib: iconv: don't build binaries

6 years agocontrib: libxml2: don't build binaries
Rafaël Carré [Tue, 20 Aug 2013 12:00:41 +0000 (14:00 +0200)]
contrib: libxml2: don't build binaries

6 years agoQt: PLModel: don't rely on model's root for finding root type
Francois Cartegnie [Mon, 19 Aug 2013 21:00:05 +0000 (23:00 +0200)]
Qt: PLModel: don't rely on model's root for finding root type

6 years agoAvformat: split the options from demux and mux in sections
Jean-Baptiste Kempf [Mon, 19 Aug 2013 13:40:05 +0000 (15:40 +0200)]
Avformat: split the options from demux and mux in sections

6 years agoThreadDisplayPreparePicture: simplify
Rafaël Carré [Mon, 19 Aug 2013 12:53:52 +0000 (14:53 +0200)]
ThreadDisplayPreparePicture: simplify

6 years agoThreadDisplayPreparePicture: simplify
Rafaël Carré [Mon, 19 Aug 2013 12:23:48 +0000 (14:23 +0200)]
ThreadDisplayPreparePicture: simplify

Make code more verbose and easy to read

6 years agovout thread: inline ThreadManage
Rafaël Carré [Mon, 19 Aug 2013 06:21:31 +0000 (08:21 +0200)]
vout thread: inline ThreadManage

6 years agovout thread: split out command processing function
Rafaël Carré [Mon, 19 Aug 2013 06:18:25 +0000 (08:18 +0200)]
vout thread: split out command processing function

6 years agoThreadDisplayPicture: simplify prototype
Rafaël Carré [Mon, 19 Aug 2013 06:07:17 +0000 (08:07 +0200)]
ThreadDisplayPicture: simplify prototype

6 years agoProvide a better name for the mono downmixer
Jean-Baptiste Kempf [Mon, 19 Aug 2013 13:28:00 +0000 (15:28 +0200)]
Provide a better name for the mono downmixer

6 years agoName AVIO as AVIO not FFmpeg or libavformat
Jean-Baptiste Kempf [Mon, 19 Aug 2013 13:24:01 +0000 (15:24 +0200)]
Name AVIO as AVIO not FFmpeg or libavformat

6 years agoAvio: correctly split input and sout options
Jean-Baptiste Kempf [Mon, 19 Aug 2013 13:15:21 +0000 (15:15 +0200)]
Avio: correctly split input and sout options

6 years agoRevert "avio: differentiate between avio-options and sout-avio-options in the GUI"
Jean-Baptiste Kempf [Mon, 19 Aug 2013 13:08:00 +0000 (15:08 +0200)]
Revert "avio: differentiate between avio-options and sout-avio-options in the GUI"

This reverts commit 03ae4817bae516a16dd7feb2c13c6a4d81d89068.

6 years agoRTSP VoD: mark the old one as legacy
Jean-Baptiste Kempf [Mon, 19 Aug 2013 12:59:48 +0000 (14:59 +0200)]
RTSP VoD: mark the old one as legacy

6 years agoQt: remove not important Sout profiles
Jean-Baptiste Kempf [Mon, 19 Aug 2013 09:47:46 +0000 (11:47 +0200)]
Qt: remove not important Sout profiles

6 years agoQt: do not free module config too early
Edward Wang [Mon, 19 Aug 2013 03:17:16 +0000 (23:17 -0400)]
Qt: do not free module config too early

Fix regression introduced in 95f145933a553e082eb42577d72dbf8bdea9972b

ConfigControl::getName() uses memory of p_item which is a part of p_config memory. This was causing a crash when trying to save the preferences, as the constructor had already destroyed it upon creation.

Instead, free the p_config memory on the destructor, which is automatically called when the dialog closes, saved or cancelled. Verified to not leak any memory.

Close #9214

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoQt: fix mp3 extension
Jean-Baptiste Kempf [Mon, 19 Aug 2013 09:39:02 +0000 (11:39 +0200)]
Qt: fix mp3 extension

Close #9200

6 years agoavio: differentiate between avio-options and sout-avio-options in the GUI
Edward Wang [Mon, 19 Aug 2013 03:27:19 +0000 (23:27 -0400)]
avio: differentiate between avio-options and sout-avio-options in the GUI

Without this fix, they are indistinguishable in the GUI and the user cannot know which is which.

Pointed-out-by: Eric Hameleers <alien@slackware.com>
Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agoavcodec: no period after option short name
Edward Wang [Mon, 19 Aug 2013 03:27:18 +0000 (23:27 -0400)]
avcodec: no period after option short name

Normalise it with other options in advanced prefs.

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agoOpenGL: Set $GL_LIBS to "-lopengl32" for the Windows case.
Adrien Maglo [Sun, 18 Aug 2013 21:06:09 +0000 (23:06 +0200)]
OpenGL: Set $GL_LIBS to "-lopengl32" for the Windows case.

6 years agoVisu: Add missing linked library (-lm).
Adrien Maglo [Sun, 18 Aug 2013 20:41:47 +0000 (22:41 +0200)]
Visu: Add missing linked library (-lm).

6 years agovhs, oldmovie: code cosmetics
Vianney Boyer [Sun, 18 Aug 2013 19:38:45 +0000 (21:38 +0200)]
vhs, oldmovie: code cosmetics

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoFreeze: Freeze interactive video filter
Vianney Boyer [Sun, 18 Aug 2013 19:38:45 +0000 (21:38 +0200)]
Freeze: Freeze interactive video filter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoNew 3D OpenGL audio spectrum visualization.
Adrien Maglo [Mon, 29 Jul 2013 09:14:07 +0000 (11:14 +0200)]
New 3D OpenGL audio spectrum visualization.

6 years agoQt: information is uncountable in this case
Edward Wang [Sun, 18 Aug 2013 03:28:59 +0000 (23:28 -0400)]
Qt: information is uncountable in this case

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agolibvlc: equalizer: ISO frequencies are the new default
Ronald Wright [Sun, 18 Aug 2013 16:16:54 +0000 (11:16 -0500)]
libvlc: equalizer: ISO frequencies are the new default

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agocontrib: modplug: use git version
Rafaël Carré [Sun, 18 Aug 2013 19:15:40 +0000 (21:15 +0200)]
contrib: modplug: use git version

Close #9209

6 years agoaccess_out: add CAN_SEEK control
Steinar H. Gunderson [Sun, 18 Aug 2013 19:00:37 +0000 (22:00 +0300)]
access_out: add CAN_SEEK control

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agotypo
Rémi Denis-Courmont [Sun, 18 Aug 2013 18:56:49 +0000 (21:56 +0300)]
typo

6 years agoQt: PLModel: remove inserts agregation.
Francois Cartegnie [Sun, 16 Sep 2012 18:36:11 +0000 (20:36 +0200)]
Qt: PLModel: remove inserts agregation.

No longer needed as the model now behaves correctly.
reverts 442bad11d6f53401ef6994fc7cbda4e3531ebaef

6 years agoQt: Set popup entries logic into models, and keep interaction outside.
Francois Cartegnie [Tue, 11 Sep 2012 13:38:25 +0000 (15:38 +0200)]
Qt: Set popup entries logic into models, and keep interaction outside.

- popup now created according to the selected items and models.
- fixes view/popup model abstraction.
- allows introducing new methods/models.

6 years agoQt: fix MLModel uris
Francois Cartegnie [Sat, 15 Sep 2012 12:53:24 +0000 (14:53 +0200)]
Qt: fix MLModel uris

6 years agoQt: MLItem: missing locks.
Francois Cartegnie [Sat, 8 Sep 2012 13:40:45 +0000 (15:40 +0200)]
Qt: MLItem: missing locks.

Never ends..

6 years agoQt: Rework Models.
Francois Cartegnie [Tue, 31 Jul 2012 17:46:41 +0000 (19:46 +0200)]
Qt: Rework Models.

- Separate common methods into interface, allowing multiple
inheritance architecture (to use any implemented AbstractModel)
- Code factorization between PL/ML models (and PL/ML Items)
- Use proxy model for views and redirection to the PL/ML models.
Fixes filtering and also really make use of the current model (only the
PL Model was really used before, models were half switched).
- stop storing/serializing selection indexes
- ML Missing locks and bug fixes
- Move ML callback into event loop
- ML Items leaks fixes
- Code factorization
- Dead code removal

6 years agomod: validate meta data (fixes #9206)
Rémi Denis-Courmont [Sat, 17 Aug 2013 19:15:54 +0000 (22:15 +0300)]
mod: validate meta data (fixes #9206)

It might be better to convert from the proper character encoding to
UTF-8, but I do not know what proper is.

6 years agometa: add assertion
Rémi Denis-Courmont [Sat, 17 Aug 2013 19:17:42 +0000 (22:17 +0300)]
meta: add assertion

6 years agoDo not truncate the last character in net_Gets().
Georgi Chorbadzhiyski [Sat, 17 Aug 2013 18:31:51 +0000 (21:31 +0300)]
Do not truncate the last character in net_Gets().

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
6 years agomacosx: fix copy and paste bug causing wrong acodec in CAS
David Fuhrmann [Sat, 17 Aug 2013 15:13:55 +0000 (17:13 +0200)]
macosx: fix copy and paste bug causing wrong acodec in CAS

6 years agotranscode: simplify audio channel stuff a littlebit
Ilkka Ollakka [Sat, 17 Aug 2013 13:44:37 +0000 (16:44 +0300)]
transcode: simplify audio channel stuff a littlebit

tested with ticket 9022 samples to 2 channel and without channel
definition. Output files seemed to have correct channel amount in both
cases.

refs #9022

6 years agoCoreGraphicsLayer: update accessory files
Felix Paul Kühne [Sat, 17 Aug 2013 13:19:53 +0000 (15:19 +0200)]
CoreGraphicsLayer: update accessory files

6 years agoNew CoreGraphics based video output drawing on CoreAnimation layers
Felix Paul Kühne [Sun, 21 Apr 2013 15:12:13 +0000 (17:12 +0200)]
New CoreGraphics based video output drawing on CoreAnimation layers

6 years agocontrib: qt4: fix for mingw-w64
Rafaël Carré [Fri, 16 Aug 2013 19:26:19 +0000 (21:26 +0200)]
contrib: qt4: fix for mingw-w64

6 years agopicture: do not clobber picture reference count when destroying a pool
Rémi Denis-Courmont [Wed, 14 Aug 2013 16:36:31 +0000 (19:36 +0300)]
picture: do not clobber picture reference count when destroying a pool

I am not taking a stand on whether pictures should or should not have
references when the pool is destroyed. It is hard to support for some
video outputs (and indeed not all of them do so correctly).
Nevertheless, it can happen, so the core might as well deal with this.

Feel free to undo this and add an assertion, if you fix all affected
code paths.

6 years agoavcodec: set frame samples to 0 if frame fill fails in encode, this way encode_audio2...
Ilkka Ollakka [Fri, 16 Aug 2013 12:59:00 +0000 (15:59 +0300)]
avcodec: set frame samples to 0 if frame fill fails in encode, this way encode_audio2 doesn't crash

6 years agohttplive: add likely
Ilkka Ollakka [Thu, 15 Aug 2013 21:05:55 +0000 (00:05 +0300)]
httplive: add likely

6 years agohttplive: cache around 10 sec worth of segments instead of just 2
Ilkka Ollakka [Mon, 5 Aug 2013 16:30:32 +0000 (19:30 +0300)]
httplive: cache around 10 sec worth of segments instead of just 2

6 years agohttplive: max delay is 1.5 on refresh as stated on rfc draft
Ilkka Ollakka [Mon, 5 Aug 2013 16:30:06 +0000 (19:30 +0300)]
httplive: max delay is 1.5 on refresh as stated on rfc draft

6 years agohttplive: Choose initial stream to be the biggest one, avoiding audio-only as migrati...
Ilkka Ollakka [Mon, 5 Aug 2013 16:31:22 +0000 (19:31 +0300)]
httplive: Choose initial stream to be the biggest one, avoiding audio-only as migration from that doesn't work in some cases

6 years agolibmpgatofixed32: give mad-errors as msg_Err and give empty frames only if mad tells...
Ilkka Ollakka [Wed, 20 Mar 2013 09:28:49 +0000 (11:28 +0200)]
libmpgatofixed32: give mad-errors as msg_Err and give empty frames only if mad tells that it can't recover from that error

6 years agobluray: ARGB overlays available since bluray 0.3.0
Rafaël Carré [Fri, 16 Aug 2013 11:53:58 +0000 (13:53 +0200)]
bluray: ARGB overlays available since bluray 0.3.0

6 years agooldmovie: don't use extern functions
Rafaël Carré [Fri, 16 Aug 2013 11:22:30 +0000 (13:22 +0200)]
oldmovie: don't use extern functions

6 years agovhs: don't use extern functions
Rafaël Carré [Fri, 16 Aug 2013 11:22:19 +0000 (13:22 +0200)]
vhs: don't use extern functions

6 years agoavcodec encoder: remove 10 years old non sense
Rafaël Carré [Thu, 15 Aug 2013 14:54:48 +0000 (16:54 +0200)]
avcodec encoder: remove 10 years old non sense

6 years agoavformat: avformat.h is always present
Rafaël Carré [Thu, 15 Aug 2013 14:54:22 +0000 (16:54 +0200)]
avformat: avformat.h is always present

6 years agoavio: avformat.h / avio.h are always present
Rafaël Carré [Thu, 15 Aug 2013 14:54:06 +0000 (16:54 +0200)]
avio: avformat.h / avio.h are always present

6 years agobluray: fix disappearing of overlays
Rafaël Carré [Thu, 15 Aug 2013 14:18:45 +0000 (16:18 +0200)]
bluray: fix disappearing of overlays

6 years agobluray: fixed title selection and title info when using menus
Petri Hintukainen [Wed, 14 Aug 2013 11:38:36 +0000 (14:38 +0300)]
bluray: fixed title selection and title info when using menus

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agobluray: use bd_get_playlist_info
Petri Hintukainen [Tue, 13 Aug 2013 10:39:27 +0000 (13:39 +0300)]
bluray: use bd_get_playlist_info

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agobluray: added options for preferred languages
Petri Hintukainen [Tue, 13 Aug 2013 11:23:25 +0000 (14:23 +0300)]
bluray: added options for preferred languages

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agoAdded an option for DVD/BluRay menu language
Petri Hintukainen [Mon, 12 Aug 2013 07:19:49 +0000 (10:19 +0300)]
Added an option for DVD/BluRay menu language

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agobluray: add blurayCloseOverlay
Rafaël Carré [Mon, 12 Aug 2013 13:01:34 +0000 (15:01 +0200)]
bluray: add blurayCloseOverlay

6 years agobluray: print debug if disc is using aacs and/or BD+
Rafaël Carré [Mon, 12 Aug 2013 12:47:38 +0000 (14:47 +0200)]
bluray: print debug if disc is using aacs and/or BD+

6 years agobluray: fix overlay memleaks
Rafaël Carré [Mon, 12 Aug 2013 12:23:56 +0000 (14:23 +0200)]
bluray: fix overlay memleaks

6 years agoavcodec: rate limit messages about direct rendering
Rafaël Carré [Mon, 12 Aug 2013 09:06:53 +0000 (11:06 +0200)]
avcodec: rate limit messages about direct rendering

6 years agobluray: cosmetics
Rafaël Carré [Mon, 12 Aug 2013 07:47:45 +0000 (09:47 +0200)]
bluray: cosmetics

6 years agobluray: inline blurayHandleEvents
Rafaël Carré [Mon, 12 Aug 2013 07:41:35 +0000 (09:41 +0200)]
bluray: inline blurayHandleEvents

6 years agobluray: free resource as soon as not needed
Rafaël Carré [Mon, 12 Aug 2013 07:41:10 +0000 (09:41 +0200)]
bluray: free resource as soon as not needed

6 years agobluray: fix memleak in error path
Rafaël Carré [Mon, 12 Aug 2013 07:40:12 +0000 (09:40 +0200)]
bluray: fix memleak in error path

6 years agobluray: blurayInitTitles: fix memleaks on error paths
Rafaël Carré [Mon, 12 Aug 2013 07:39:12 +0000 (09:39 +0200)]
bluray: blurayInitTitles: fix memleaks on error paths

6 years agobluray: simplify overlay functions
Rafaël Carré [Mon, 12 Aug 2013 07:38:12 +0000 (09:38 +0200)]
bluray: simplify overlay functions

6 years agobluray: cosmetics
Rafaël Carré [Mon, 12 Aug 2013 07:25:13 +0000 (09:25 +0200)]
bluray: cosmetics

6 years agobluray: simplify error message reporting
Rafaël Carré [Mon, 12 Aug 2013 07:18:53 +0000 (09:18 +0200)]
bluray: simplify error message reporting

Translate "Path doesn't appear to be a Blu-ray"
Do not show cryptic "Could not get parent input" dialog

6 years agobluray: blurayInitTitles can not fail
Rafaël Carré [Mon, 12 Aug 2013 07:17:50 +0000 (09:17 +0200)]
bluray: blurayInitTitles can not fail

6 years agobluray: don't reinvent strdup
Rafaël Carré [Mon, 12 Aug 2013 07:16:13 +0000 (09:16 +0200)]
bluray: don't reinvent strdup

6 years agobluray: split device node -> mount point helper
Rafaël Carré [Mon, 12 Aug 2013 07:15:08 +0000 (09:15 +0200)]
bluray: split device node -> mount point helper

Fix memleak in error path after doing the conversion

6 years agobluray: ARGB overlay support (BD-J)
Petri Hintukainen [Fri, 9 Aug 2013 11:04:58 +0000 (14:04 +0300)]
bluray: ARGB overlay support (BD-J)

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agobluray: make overlay helper function interfaces ARGB compatible
Petri Hintukainen [Fri, 9 Aug 2013 10:15:44 +0000 (13:15 +0300)]
bluray: make overlay helper function interfaces ARGB compatible

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agobluray: add an option to select player region code
Petri Hintukainen [Thu, 8 Aug 2013 07:05:30 +0000 (10:05 +0300)]
bluray: add an option to select player region code

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agobluray: use navigation keys (DEMUX_NAV_...)
Petri Hintukainen [Thu, 8 Aug 2013 06:30:55 +0000 (09:30 +0300)]
bluray: use navigation keys (DEMUX_NAV_...)

Signed-off-by: Rafaël Carré <funman@videolan.org>
6 years agoWinRT: do not use GetLogicalDrives
Jean-Baptiste Kempf [Fri, 16 Aug 2013 09:51:44 +0000 (11:51 +0200)]
WinRT: do not use GetLogicalDrives

6 years agoWin32: More comments to avoid removal :)
Jean-Baptiste Kempf [Fri, 16 Aug 2013 09:06:52 +0000 (11:06 +0200)]
Win32: More comments to avoid removal :)

6 years agoRevert "win32 opendir: remove broken and obsolete special mode"
Jean-Baptiste Kempf [Fri, 16 Aug 2013 08:59:17 +0000 (10:59 +0200)]
Revert "win32 opendir: remove broken and obsolete special mode"

This reverts commit 5bb66d739c32023b033c6fde0cd7c807493f4fbf.

6 years agoUpdate NEWS
Jean-Baptiste Kempf [Thu, 15 Aug 2013 18:51:23 +0000 (20:51 +0200)]
Update NEWS

6 years agoQt4: correctly show the default Windows Audio Device
Jean-Baptiste Kempf [Thu, 15 Aug 2013 18:36:28 +0000 (20:36 +0200)]
Qt4: correctly show the default Windows Audio Device

Close #9104

6 years agoDirectSound: only list usable devices
Jean-Baptiste Kempf [Thu, 15 Aug 2013 18:10:18 +0000 (20:10 +0200)]
DirectSound: only list usable devices

Ref #9104

6 years agoExtras/tools: force the last version of m4
Jean-Baptiste Kempf [Thu, 15 Aug 2013 14:52:17 +0000 (16:52 +0200)]
Extras/tools: force the last version of m4

Previous ones are refused by autoconf

6 years agoRevert "DirectX: use parent object instead of -incorrectly- pl_Get()"
Jean-Baptiste Kempf [Thu, 15 Aug 2013 14:41:54 +0000 (16:41 +0200)]
Revert "DirectX: use parent object instead of -incorrectly- pl_Get()"

This reverts commit 9797d69d29097a598384a5d87c35f1d859aab4b4.

6 years agoAudio effect: "equalizer" is enough...
Jean-Baptiste Kempf [Thu, 15 Aug 2013 13:55:01 +0000 (15:55 +0200)]
Audio effect: "equalizer" is enough...

6 years agoVHS: VHS style video filter
Vianney Boyer [Fri, 26 Jul 2013 17:56:18 +0000 (19:56 +0200)]
VHS: VHS style video filter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agoLink oldmovie with math
Jean-Baptiste Kempf [Thu, 15 Aug 2013 11:46:34 +0000 (13:46 +0200)]
Link oldmovie with math

6 years agoOldmovie: Oldmovie style video filter
Vianney Boyer [Fri, 26 Jul 2013 17:12:22 +0000 (19:12 +0200)]
Oldmovie: Oldmovie style video filter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
6 years agobuild: fix powerpc detection
Dominique Leuenberger [Fri, 9 Aug 2013 18:41:51 +0000 (20:41 +0200)]
build: fix powerpc detection

Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
6 years agoPuzzle: fix shapes bug when changing game mode
Vianney Boyer [Fri, 26 Jul 2013 18:02:15 +0000 (20:02 +0200)]
Puzzle: fix shapes bug when changing game mode

This fix regenerates the shapes when you change the game mode. However you'll see straight shapes.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>