class TranscodeVideoJob < ActiveJob::Base
  queue_as :default

  def perform(episode)
    return unless Transcode.create(
      pipeline: :video, input: episode.video_file_url
    )
    episode.update video_transcoded_at: Time.zone.now
  end
end

class TranscodeVideoJob < ActiveJob::Base
  queue_as :default

  def perform(episode)
    return unless Transcode.create input: episode.video_file_url
    episode.update video_transcoded_at: Time.current
  end
end

Remove pipeline config from Transcode job
Remove pipeline config from Transcode job
