diff options
author | Andreas Huber <andih@google.com> | 2013-01-29 09:22:16 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2013-01-29 10:30:47 -0800 |
commit | 94a483bf2bd699275673d9cd57cb125d48572f30 (patch) | |
tree | 3896a7d6691cdae1607bd87dff011f53ef5aea3b /media/libstagefright/mpeg2ts | |
parent | 2d45dbd1910a7e51d383e8583017e6f26cd3498a (diff) | |
download | frameworks_av-94a483bf2bd699275673d9cd57cb125d48572f30.zip frameworks_av-94a483bf2bd699275673d9cd57cb125d48572f30.tar.gz frameworks_av-94a483bf2bd699275673d9cd57cb125d48572f30.tar.bz2 |
Squashed commit of the following:
commit f2c38e5cf8cee3b597c744c9d6a9c0969ac8599a
Author: Andreas Huber <andih@google.com>
Date: Mon Jan 28 16:33:07 2013 -0800
Proper support for video format selection/negotiation.
Change-Id: I7db86cef939d63b8064be1c74de9ad78e85d45d9
commit 488023b7bad086692ffe942114fa3cc0e59a16c0
Author: Andreas Huber <andih@google.com>
Date: Mon Jan 28 11:21:23 2013 -0800
Sink now notifies clients once it is disconnected.
Change-Id: I2f0a458ef1ec30dda1272ad5a013fee4ee70edc9
commit 783932e40dd904aa531c263ad51280d9ca814dcb
Author: Andreas Huber <andih@google.com>
Date: Tue Dec 18 15:03:40 2012 -0800
Alternative DirectRenderer implementation.
Change-Id: I307beb913d7a61cb938bcb02696cc2e82d2b8b07
commit 1935cc9a87824aea71fc8ebe2162f62ec634ce5a
Author: Andreas Huber <andih@google.com>
Date: Tue Dec 18 10:24:27 2012 -0800
Experimenting with wifi sink timing.
Change-Id: I059bae9762cf11777666988a8b4ab2012b5807be
commit a859ee1eadd6a1d6a080667917e8b102c3770d61
Author: Andreas Huber <andih@google.com>
Date: Thu Nov 15 11:16:30 2012 -0800
wfd sink update.
Change-Id: I026dfc580be92aa40dbbe7c1bc061fadf3b08be8
Change-Id: I191d3d7015869ca99254d813d074328fb5b2f479
Diffstat (limited to 'media/libstagefright/mpeg2ts')
-rw-r--r-- | media/libstagefright/mpeg2ts/ATSParser.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/media/libstagefright/mpeg2ts/ATSParser.cpp b/media/libstagefright/mpeg2ts/ATSParser.cpp index 4f6c4b2..a167b5a 100644 --- a/media/libstagefright/mpeg2ts/ATSParser.cpp +++ b/media/libstagefright/mpeg2ts/ATSParser.cpp @@ -534,6 +534,16 @@ status_t ATSParser::Stream::parse( mBuffer->setRange(0, 0); mExpectedContinuityCounter = -1; +#if 0 + // Uncomment this if you'd rather see no corruption whatsoever on + // screen and suspend updates until we come across another IDR frame. + + if (mStreamType == STREAMTYPE_H264) { + ALOGI("clearing video queue"); + mQueue->clear(true /* clearFormat */); + } +#endif + return OK; } |