Implemented support all pixel formats when player run with command line
parameter "-pf".
Usage:
-pf r<r_bits>g<g_bits>b<b_bits>[le|be]
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@264 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/PlayerOptions.cxx b/rfbplayer/PlayerOptions.cxx
index c4bbfaa..189401f 100644
--- a/rfbplayer/PlayerOptions.cxx
+++ b/rfbplayer/PlayerOptions.cxx
@@ -86,6 +86,7 @@
loopPlayback = DEFAULT_LOOP_PLAYBACK;
askPixelFormat = DEFAULT_ASK_PF;
autoStoreSettings = DEFAULT_STORE_SETTINGS;
+ commandLineParam = false;
}
void PlayerOptions::setPF(PixelFormat *newPF) {