diff options
author | Insun Kang <insun@google.com> | 2012-03-15 23:04:43 +0900 |
---|---|---|
committer | Insun Kang <insun@google.com> | 2012-03-16 16:00:48 +0900 |
commit | 7c5afe93c9ca2f9f3958663bc3fa9649ec2f5331 (patch) | |
tree | 9feedb389b7a89aed380d5b603355f7359a07d3d /media/libstagefright/timedtext | |
parent | 49f306f863b14f8bfc3b405ebfd3a2fb2b403c15 (diff) | |
download | frameworks_av-7c5afe93c9ca2f9f3958663bc3fa9649ec2f5331.zip frameworks_av-7c5afe93c9ca2f9f3958663bc3fa9649ec2f5331.tar.gz frameworks_av-7c5afe93c9ca2f9f3958663bc3fa9649ec2f5331.tar.bz2 |
Fix a bug in MediaPlayer's addExternalSource().
Change-Id: I035cbfb7acccc7ff88d659861ece7d0f61314fda
Diffstat (limited to 'media/libstagefright/timedtext')
-rw-r--r-- | media/libstagefright/timedtext/TimedTextDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/timedtext/TimedTextDriver.cpp b/media/libstagefright/timedtext/TimedTextDriver.cpp index ed83894..8ee15f8 100644 --- a/media/libstagefright/timedtext/TimedTextDriver.cpp +++ b/media/libstagefright/timedtext/TimedTextDriver.cpp @@ -175,7 +175,7 @@ status_t TimedTextDriver::addOutOfBandTextSource( } sp<TimedTextSource> source; - if (strcasecmp(mimeType, MEDIA_MIMETYPE_TEXT_SUBRIP)) { + if (strcasecmp(mimeType, MEDIA_MIMETYPE_TEXT_SUBRIP) == 0) { source = TimedTextSource::CreateTimedTextSource( dataSource, TimedTextSource::OUT_OF_BAND_FILE_SRT); } |