catch encoder exceptions and show them in the GUI
Submitted by Jeff F.T.
Assigned to Jeff F.T.
Whenever something prevents the rendering from taking place, the user should be informed. For example, trying to render something in 720x555 in H.264 will print this in the terminal:
x264 [error]: width or height not divisible by 2 (720x555)
However, the user will not know unless he is running pitivi from the terminal and actively looking for errors. I currently get a dialog saying something this, at most:
gstx264enc.c(642): gst_x264_enc_init_encoder (): /GstPipeline:pipeline0/GstBin:bin3/GstBin:bin4/GstBin:bin5/GstX264Enc:x264enc0
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=578671