Skip to content

Commit

Permalink
add ARM if def for tests using h264decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaljain-apra committed May 31, 2024
1 parent 261602c commit e21076a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion base/test/gtkglrenderer_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "NvV4L2Camera.h"
#include "MemTypeConversion.h"
#include "ResizeNPPI.h"
#include "H264Decoder.h"
#endif
#include "AffineTransform.h"
#include "ColorConversionXForm.h"
Expand All @@ -20,7 +21,6 @@
#include "FileReaderModule.h"
#include "FileWriterModule.h"
#include "GtkGlRenderer.h"
#include "H264Decoder.h"
#include "H264Metadata.h"
#include "RTSPClientSrc.h"
#include "StatSink.h"
Expand Down Expand Up @@ -89,6 +89,7 @@ boost::shared_ptr<GtkGlRenderer> laucX86Pipeline() {
}

boost::shared_ptr<GtkGlRenderer> laucX86RTSPPipeline() {
#if defined(__arm__) || defined(__aarch64__)
Logger::setLogLevel("info");

rtsp_client_tests_data d;
Expand Down Expand Up @@ -119,6 +120,8 @@ boost::shared_ptr<GtkGlRenderer> laucX86RTSPPipeline() {
p.init();
p.run_all_threaded();
return GtkGl;
#endif
return NULL;
}

boost::shared_ptr<GtkGlRenderer> launchPipeline1() {
Expand Down

0 comments on commit e21076a

Please sign in to comment.