]> git.sesse.net Git - vlc/commitdiff
* Added MPEG 1 to the list of encapsulation methods (useful to produce files playable...
authorGildas Bazin <gbazin@videolan.org>
Sun, 20 Jul 2003 15:33:53 +0000 (15:33 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 20 Jul 2003 15:33:53 +0000 (15:33 +0000)
modules/gui/wxwindows/streamout.cpp

index ea86acd7d9b7481fbd71ae9af479ccb21b50668a..9ca657679fed4ccedbe0f8e308e9647e4d77579c 100644 (file)
@@ -2,7 +2,7 @@
  * streamout.cpp : wxWindows plugin for vlc
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: streamout.cpp,v 1.24 2003/07/12 13:33:10 gbazin Exp $
+ * $Id: streamout.cpp,v 1.25 2003/07/20 15:33:53 gbazin Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
@@ -73,6 +73,7 @@ enum
 {
     TS_ENCAPSULATION = 0,
     PS_ENCAPSULATION,
+    MPEG1_ENCAPSULATION,
     AVI_ENCAPSULATION,
     OGG_ENCAPSULATION,
     ENCAPS_NUM,
@@ -281,6 +282,9 @@ void SoutDialog::UpdateMRL()
     case PS_ENCAPSULATION:
         encapsulation = wxT("ps");
         break;
+    case MPEG1_ENCAPSULATION:
+        encapsulation = wxT("mpeg1");
+        break;
     case AVI_ENCAPSULATION:
         encapsulation = wxT("avi");
         break;
@@ -531,6 +535,7 @@ wxPanel *SoutDialog::EncapsulationPanel( wxWindow* parent )
     {
         wxT("MPEG TS"),
         wxT("MPEG PS"),
+        wxT("MPEG 1"),
         wxT("AVI"),
         wxT("Ogg"),
         wxT("MP4/MOV")