mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 12:05:58 +08:00
适配ZLToolKit
This commit is contained in:
@@ -185,7 +185,7 @@ private:
|
||||
template<typename packet, typename policy = FlushPolicy, typename packet_list = List<std::shared_ptr<packet> > >
|
||||
class VideoPacketCache {
|
||||
public:
|
||||
VideoPacketCache() : _policy(true) {
|
||||
VideoPacketCache() : _policy(false) {
|
||||
_cache = std::make_shared<packet_list>();
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ private:
|
||||
template<typename packet, typename policy = FlushPolicy, typename packet_list = List<std::shared_ptr<packet> > >
|
||||
class AudioPacketCache {
|
||||
public:
|
||||
AudioPacketCache() : _policy(false) {
|
||||
AudioPacketCache() : _policy(true) {
|
||||
_cache = std::make_shared<packet_list>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user