Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
295594f6
Commit
295594f6
authored
Nov 02, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc-thumb: works also with gnome 3
parent
92691c21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
doc/libvlc/vlc-thumb.c
doc/libvlc/vlc-thumb.c
+4
-1
doc/libvlc/vlc-thumb.thumbnailer
doc/libvlc/vlc-thumb.thumbnailer
+4
-0
No files found.
doc/libvlc/vlc-thumb.c
View file @
295594f6
...
@@ -5,7 +5,10 @@
...
@@ -5,7 +5,10 @@
/* Works with : libvlc 1.2.0
/* Works with : libvlc 1.2.0
gcc -pedantic -Wall -Werror -Wextra `pkg-config --cflags --libs libvlc` -lpthread
gcc -pedantic -Wall -Werror -Wextra `pkg-config --cflags --libs libvlc` -lpthread
# to register the thumbnailer:
# to register the thumbnailer on gnome 3.x:
cp vlc-thumb.thumbnailer /usr/share/thumbnailers
# to register the thumbnailer on gnome 2.x:
list=`grep ^Mime vlc.desktop|cut -d= -f2-|sed -e s/";"/\\\n/g -e s,/,@,g`
list=`grep ^Mime vlc.desktop|cut -d= -f2-|sed -e s/";"/\\\n/g -e s,/,@,g`
vid=`echo $mimes|grep ^vid`
vid=`echo $mimes|grep ^vid`
for i in $vid
for i in $vid
...
...
doc/libvlc/vlc-thumb.thumbnailer
0 → 100644
View file @
295594f6
[Thumbnailer Entry]
TryExec=vlc-thumb
Exec=vlc-thumb -s %s %u %o
MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;video/x-flv;video/vnd.rn-realvideo;video/mp4;video/mp4v-es;video/mp2t;application/ogg;application/x-ogg;video/x-ogm+ogg;application/x-matroska;video/x-matroska;video/webm;application/vnd.rn-realmedia;image/vnd.rn-realpix;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment