sys/dshowdecwrapper/: Use the _T() macro to support both Unicode and MBCS.
authorOle André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
Tue, 30 Sep 2008 10:22:10 +0000 (10:22 +0000)
committerOle André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
Tue, 30 Sep 2008 10:22:10 +0000 (10:22 +0000)
Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.h (AudioFakeSink.AudioFakeSink):
* sys/dshowdecwrapper/gstdshowvideodec.h (VideoFakeSink.VideoFakeSink):
Use the _T() macro to support both Unicode and MBCS.

ChangeLog
sys/dshowdecwrapper/gstdshowaudiodec.h
sys/dshowdecwrapper/gstdshowvideodec.h

index 739264f..8c4a406 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-09-30  Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
 
+       * sys/dshowdecwrapper/gstdshowaudiodec.h (AudioFakeSink.AudioFakeSink):
+       * sys/dshowdecwrapper/gstdshowvideodec.h (VideoFakeSink.VideoFakeSink):
+       Use the _T() macro to support both Unicode and MBCS.
+
+2008-09-30  Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
+
        * ext/libmms/gstmms.c (plugin_init):
        Fix return type of the GstURIHandler::get_type() implementation.
 
index 37f1607..77d7891 100644 (file)
@@ -132,7 +132,7 @@ class AudioFakeSink :  public CBaseRenderer
 public:
   AudioFakeSink(GstDshowAudioDec *dec) : 
       m_hres(S_OK),
-      CBaseRenderer(CLSID_AudioFakeSink, L"AudioFakeSink", NULL, &m_hres),
+      CBaseRenderer(CLSID_AudioFakeSink, _T("AudioFakeSink"), NULL, &m_hres),
       mDec(dec) 
   {};
   virtual ~AudioFakeSink() {};
index 66bb002..1995e49 100644 (file)
@@ -131,7 +131,7 @@ class VideoFakeSink :  public CBaseRenderer
 public:
   VideoFakeSink(GstDshowVideoDec *dec) : 
       m_hres(S_OK),
-      CBaseRenderer(CLSID_VideoFakeSink, L"VideoFakeSink", NULL, &m_hres),
+      CBaseRenderer(CLSID_VideoFakeSink, _T("VideoFakeSink"), NULL, &m_hres),
       mDec(dec) 
   {};
   virtual ~VideoFakeSink() {};