rework android-rmt display, add a few buttons
[goodguy/history.git] / cinelerra-5.0 / cinelerra / recordvideo.C
index ffabce5b4be95bc8aeb82b1ad1a636620e57f8b8..2abd343a564fddb34cf6f68bf1b928b24a3f3884 100644 (file)
 #include "file.h"
 #include "filethread.h"
 #include "language.h"
+#include "libmjpeg.h"
 #include "mutex.h"
 #include "mwindow.h"
 #include "mwindowgui.h"
 #include "preferences.h"
-#include "quicktime.h"
 #include "record.h"
 #include "recordaudio.h"
 #include "recordgui.h"
@@ -245,7 +245,7 @@ SET_TRACE
 SET_TRACE
 //TRACE("RecordVideo::run 2");
        if( write_result ) {
-               ErrorBox error_box(PROGRAM_NAME ": Error",
+               ErrorBox error_box(_(PROGRAM_NAME ": Error"),
                        mwindow->gui->get_abs_cursor_x(1),
                        mwindow->gui->get_abs_cursor_y(1));
                        error_box.create_objects(_("No space left on disk."));
@@ -261,7 +261,7 @@ int RecordVideo::read_buffer(VFrame *frame)
 
 void RecordVideo::decompress_buffer(VFrame *frame)
 {
-       if( !strncmp(record->default_asset->vcodec, QUICKTIME_MJPA, 4) &&
+       if( !strcmp(record->default_asset->vcodec, CODEC_TAG_MJPEG) &&
                record->vdevice->is_compressed(0, 1)) {
                unsigned char *data = frame->get_data();
                int64_t size = frame->get_compressed_size();