summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-04-13 21:33:26 -0700
committerJames Dong <jdong@google.com>2010-04-14 08:57:14 -0700
commit27fde958c8e8e6a998ec7a28d32b0aad97662dee (patch)
tree8e54465cfbb6b009d840a3d82aeaf3e11e125561
parentb9dbba9285fb406bc6eb87779c8bfc405269b6f2 (diff)
downloadframeworks_av-27fde958c8e8e6a998ec7a28d32b0aad97662dee.zip
frameworks_av-27fde958c8e8e6a998ec7a28d32b0aad97662dee.tar.gz
frameworks_av-27fde958c8e8e6a998ec7a28d32b0aad97662dee.tar.bz2
Use PV_PLAYER to handle RTSP streaming
bug - 2594865 Change-Id: Ice5b89b1d53bbc4da033892fe545bdf51ac7267f
-rw-r--r--media/libmediaplayerservice/MediaPlayerService.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/MediaPlayerService.cpp b/media/libmediaplayerservice/MediaPlayerService.cpp
index 594e010..a6d8d2c 100644
--- a/media/libmediaplayerservice/MediaPlayerService.cpp
+++ b/media/libmediaplayerservice/MediaPlayerService.cpp
@@ -747,6 +747,11 @@ player_type getPlayerType(const char* url)
}
}
+ // Use PV_PLAYER for rtsp for now
+ if (!strncasecmp(url, "rtsp://", 7)) {
+ return PV_PLAYER;
+ }
+
return getDefaultPlayerType();
}