summaryrefslogtreecommitdiffstats
path: root/src/input/Zmq.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-03-25 15:40:43 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-03-25 15:40:43 +0100
commitb5d9aace919134c4f340f237d1de04b266552448 (patch)
tree947bb14421d6c90dbb4b9c70f940d4c87cecef4a /src/input/Zmq.cpp
parent925ecf59c1275d6302f914f4c6be2a4a042432d5 (diff)
downloaddabmux-b5d9aace919134c4f340f237d1de04b266552448.tar.gz
dabmux-b5d9aace919134c4f340f237d1de04b266552448.tar.bz2
dabmux-b5d9aace919134c4f340f237d1de04b266552448.zip
Rename ZMQ_ENCODER_XYZ constants
Diffstat (limited to 'src/input/Zmq.cpp')
-rw-r--r--src/input/Zmq.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/Zmq.cpp b/src/input/Zmq.cpp
index 603f514..305653b 100644
--- a/src/input/Zmq.cpp
+++ b/src/input/Zmq.cpp
@@ -369,7 +369,7 @@ int ZmqMPEG::readFromSocket(size_t framesize)
if ( msg.size() >= sizeof(zmq_frame_header_t) and
msg.size() == ZMQ_FRAME_SIZE(frame) and
frame->version == 1 and
- frame->encoder == ZMQ_ENCODER_TOOLAME) {
+ frame->encoder == ZMQ_ENCODER_MPEG_L2) {
datalen = frame->datasize;
data = ZMQ_FRAME_DATA(frame);
@@ -439,7 +439,7 @@ int ZmqAAC::readFromSocket(size_t framesize)
if ( msg.size() >= sizeof(zmq_frame_header_t) and
msg.size() == ZMQ_FRAME_SIZE(frame) and
frame->version == 1 and
- frame->encoder == ZMQ_ENCODER_FDK) {
+ frame->encoder == ZMQ_ENCODER_AACPLUS) {
datalen = frame->datasize;
data = ZMQ_FRAME_DATA(frame);