summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorJindřich Makovička <makovick@gmail.com>2005-12-18 13:29:09 +0000
committerJindřich Makovička <makovick@gmail.com>2005-12-18 13:29:09 +0000
commit9944fb97c46301fca21c9ff18ab906a29489bcc4 (patch)
tree3f1569ffeaef4bfd1844ff1bc19fd1812edfae81 /libavcodec/h264.c
parent5639729bed02cbf7c8ac653da3120e825b95a87b (diff)
downloadffmpeg-streaming-9944fb97c46301fca21c9ff18ab906a29489bcc4.zip
ffmpeg-streaming-9944fb97c46301fca21c9ff18ab906a29489bcc4.tar.gz
new qscale type to distinguish H264
Originally committed as revision 4753 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 19c2fea..e942d16 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -7552,6 +7552,7 @@ static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){
if(!s->current_picture_ptr) return buf_index; //no frame
+ s->current_picture_ptr->qscale_type= FF_QSCALE_TYPE_H264;
s->current_picture_ptr->pict_type= s->pict_type;
s->current_picture_ptr->key_frame= s->pict_type == I_TYPE && h->nal_unit_type == NAL_IDR_SLICE;
OpenPOWER on IntegriCloud