diff gui/util/string.c @ 34387:0ba85cad4c7e

Add audio CD playback support to the X11/GTK GUI. (The Win32 GUI already had this support. Add missing - although already used - user event evPlayCD here as well as internal event ivSetCDTrack - although it's unused - for consistency.)
author ib
date Sat, 31 Dec 2011 12:38:52 +0000
parents fadc00cc31d3
children 5a45efc630b8
line wrap: on
line diff
--- a/gui/util/string.c	Sat Dec 31 12:20:08 2011 +0000
+++ b/gui/util/string.c	Sat Dec 31 12:38:52 2011 +0000
@@ -283,6 +283,12 @@
         av_strlcpy(fname, guiInfo.Filename, maxlen);
         break;
 
+#ifdef CONFIG_CDDA
+    case STREAMTYPE_CDDA:
+        snprintf(fname, maxlen, MSGTR_Title, guiInfo.Track);
+        break;
+#endif
+
 #ifdef CONFIG_VCD
     case STREAMTYPE_VCD:
         snprintf(fname, maxlen, MSGTR_Title, guiInfo.Track - 1);