Skip to content

Commit e54b8b3

Browse files
committed
fixed bitstream filtering
1 parent aee2549 commit e54b8b3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/lib.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ fn process_bsf(
280280
let mut new_packet = Packet::empty();
281281
let ret = av_bsf_receive_packet(filter.ptr, new_packet.as_mut_ptr());
282282
if ret == AVERROR(EAGAIN) {
283-
//debug!("Required extra packets");
283+
debug!("Required extra packets");
284284
break;
285285
}
286286
if ret == AVERROR_EOF {
@@ -296,10 +296,6 @@ fn process_bsf(
296296
new_packet.data().as_ref().unwrap().len()
297297
);
298298
new_packet.set_stream(packet.stream());
299-
//new_packet.set_flags(packet.flags());
300-
// new_packet.set_dts(packet.dts());
301-
// new_packet.set_pts(packet.pts());
302-
// new_packet.set_duration(packet.duration());
303299
new_packets.push(new_packet.clone());
304300
}
305301
}

0 commit comments

Comments
 (0)