[Live-devel] [patch] remove some unused code in qtfilesink

Erik Hovland erik at hovland.org
Tue Jul 1 16:23:38 PDT 2008


The qt file sink class has some unused code in it. This patch removes
it.
---

 liveMedia/QuickTimeFileSink.cpp |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/liveMedia/QuickTimeFileSink.cpp b/liveMedia/QuickTimeFileSink.cpp
index 6e4c997..29bef25 100644
--- a/liveMedia/QuickTimeFileSink.cpp
+++ b/liveMedia/QuickTimeFileSink.cpp
@@ -529,7 +529,6 @@ Boolean SubsessionIOState::setQTstate() {
   char const* noCodecWarning1 = "Warning: We don't implement a QuickTime ";
   char const* noCodecWarning2 = " Media Data Type for the \"";
   char const* noCodecWarning3 = "\" track, so we'll insert a dummy \"????\" Media Data Atom instead.  A separate, codec-specific editing pass will be needed before this track can be played.\n";
-  Boolean supportPartiallyOnly = False;
 
   do {
     fQTEnableTrack = True; // enable this track in the movie by default
@@ -622,14 +621,6 @@ Boolean SubsessionIOState::setQTstate() {
       break;
     }
 
-    if (supportPartiallyOnly) {
-      envir() << "Warning: We don't have sufficient codec-specific information (e.g., sample sizes) to fully generate the \""
-	      << fOurSubsession.mediumName() << "/"
-	      << fOurSubsession.codecName()
-	      << "\" track, so we'll disable this track in the movie.  A separate, codec-specific editing pass will be needed before this track can be played\n";
-      fQTEnableTrack = False; // disable this track in the movie
-    }
-
     return True;
   } while (0);
 

-- 
Erik Hovland
mail: erik at hovland.org
web: http://hovland.org/
PGP/GPG public key available on request



More information about the live-devel mailing list