From c461d83c5f7414a08a3031a74400afb3ef7f73af Mon Sep 17 00:00:00 2001 From: BPanther Date: Sat, 9 Oct 2021 22:26:56 +0200 Subject: [PATCH] pip variables renamed --- libarmbox/audio.cpp | 2 +- libarmbox/dmx.cpp | 3 +++ libarmbox/video.cpp | 2 +- libspark/audio.cpp | 2 +- libspark/video.cpp | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/libarmbox/audio.cpp b/libarmbox/audio.cpp index 59e56cc..3c5fe71 100644 --- a/libarmbox/audio.cpp +++ b/libarmbox/audio.cpp @@ -38,7 +38,7 @@ enum }; cAudio *audioDecoder = NULL; -cAudio *pipAudioDecoder = NULL; +cAudio *pipAudioDecoder[3] = { NULL, NULL, NULL }; static const char *ADEV[] = { diff --git a/libarmbox/dmx.cpp b/libarmbox/dmx.cpp index 87ed140..8f3bcab 100644 --- a/libarmbox/dmx.cpp +++ b/libarmbox/dmx.cpp @@ -58,6 +58,9 @@ cDemux *videoDemux = NULL; cDemux *audioDemux = NULL; //cDemux *pcrDemux = NULL; +cDemux *pipVideoDemux[3] = { NULL, NULL, NULL }; +cDemux *pipAudioDemux[3] = { NULL, NULL, NULL }; + static const char *DMX_T[] = { "DMX_INVALID", diff --git a/libarmbox/video.cpp b/libarmbox/video.cpp index 0c9bba4..182c808 100644 --- a/libarmbox/video.cpp +++ b/libarmbox/video.cpp @@ -80,7 +80,7 @@ enum }; cVideo *videoDecoder = NULL; -cVideo *pipDecoder = NULL; +cVideo *pipVideoDecoder[3] = { NULL, NULL, NULL }; int system_rev = 0; diff --git a/libspark/audio.cpp b/libspark/audio.cpp index b149ec5..c1a5011 100644 --- a/libspark/audio.cpp +++ b/libspark/audio.cpp @@ -27,7 +27,7 @@ enum }; cAudio *audioDecoder = NULL; -cAudio *pipAudioDecoder = NULL; +cAudio *pipAudioDecoder[3] = { NULL, NULL, NULL }; static const char *ADEV[] = { diff --git a/libspark/video.cpp b/libspark/video.cpp index e27f6b8..3ef21fa 100644 --- a/libspark/video.cpp +++ b/libspark/video.cpp @@ -73,7 +73,7 @@ enum }; cVideo *videoDecoder = NULL; -cVideo *pipDecoder = NULL; +cVideo *pipVideoDecoder[3] = { NULL, NULL, NULL }; int system_rev = 0;