fn begin_transcode(&mut self, hash: u128) -> bool {
        if let Some(read_fozdb) = &mut self.read_fozdb {
            if let Ok(transcoded_size) = read_fozdb.entry_size(VIDEOCONV_FOZ_TAG_OGVDATA, hash) {
                self.transcode_hash = Some(hash);
                self.our_duration = Some(transcoded_size as u64);
                return true;
            }
        }

        gst_log!(CAT, "No transcoded video for {}. Substituting a blank video.", format_hash(hash));

        self.transcode_hash = None;
        self.our_duration = Some(include_bytes!("../blank.ogv").len() as u64);

        false
    }
/* true if the file is transcoded; false if not */
true if the file is transcoded; false if not
true if the file is transcoded ; false if not
fn begin_transcode(&mut self, hash: u128) -> bool {
        if let Some(read_fozdb) = &mut self.read_fozdb {
            if let Ok(transcoded_size) = read_fozdb.entry_size(VIDEOCONV_FOZ_TAG_OGVDATA, hash) {
                self.transcode_hash = Some(hash);
                self.our_duration = Some(transcoded_size as u64);
                return true;
            }
        }
        gst_log!(CAT, "No transcoded video for {}. Substituting a blank video.", format_hash(hash));
        self.transcode_hash = None;
        self.our_duration = Some(include_bytes!("../blank.ogv").len() as u64);
        false
    }
fn begin_transcode ( & mut self , hash : u128 ) -> bool { if let Some ( read_fozdb ) = & mut self . read_fozdb { if let Ok ( transcoded_size ) = read_fozdb . entry_size ( VIDEOCONV_FOZ_TAG_OGVDATA , hash ) { self . transcode_hash = Some ( hash ) ; self . our_duration = Some ( transcoded_size as u64 ) ; return true ; } } gst_log ! ( CAT " " format_hash ( hash ) ) ; self . transcode_hash = None ; self . our_duration = Some ( include_bytes ! ( " " ) . len ( ) as u64 ) ; false }
true if the file is transcoded; false if not
true if the file is transcoded ; false if not
&mut self
hash
u128